cPropFrame SetRectangle Method CSi API ETABS 2015
Initializes a solid rectangular frame section property. If this function is called for an existing frame section property, all items for the section are reset to their default value.

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

int SetRectangle(
	string Name,
	string MatProp,
	double T3,
	double T2,
	int Color = -1,
	string Notes = "",
	string GUID = ""
)

Parameters

Name
Type: OnlineSystem String
The name of an existing or new frame section 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 for the section.
T3
Type: OnlineSystem Double
T2
Type: OnlineSystem Double
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 section. If this item is input as Default, the program assigns a GUID to the section.

Return Value

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

Examples

See Also