cPropTendon SetProp Method CSi API ETABS 2015
Defines a tendon property

Namespace: ETABS2015
Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
Syntax

int SetProp(
	string Name,
	string MatProp,
	int ModelingOption,
	double Area,
	int Color = -1,
	string Notes = "",
	string GUID = ""
)

Parameters

Name
Type: OnlineSystem String
The name of an existing or new tendon property. If this is an existing property, that property is modified; otherwise, a new property is added.
MatProp
Type: OnlineSystem String
The name of the material property assigned to the tendon property.
ModelingOption
Type: OnlineSystem Int32
This is either 1 or 2, indicating the tendon modeling option.
ValueModeling Option
1Model tendon as loads
2Model tendon as elements
Area
Type: OnlineSystem Double
The cross-sectional area of the tendon. [L2]
Color (Optional)
Type: OnlineSystem Int32
Notes (Optional)
Type: OnlineSystem String
GUID (Optional)
Type: OnlineSystem String
The GUID (global unique identifier), if any, assigned to the property. If this item is input as Default, the program assigns a GUID to the property

Return Value

Returns zero if the property is successfully defined; otherwise it returns a nonzero value.
Remarks

Modeling tendons as elements (ModelingOption = 2) is not supported in ETABS.
Examples

See Also