cPropFrame SetNonPrismatic Method CSi API ETABS 2015
Assigns data to a nonprismatic frame section property.

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

int SetNonPrismatic(
	string Name,
	int NumberItems,
	ref string[] StartSec,
	ref string[] EndSec,
	ref double[] MyLength,
	ref int[] MyType,
	ref int[] EI33,
	ref int[] EI22,
	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.
NumberItems
Type: OnlineSystem Int32
The number of segments assigned to the nonprismatic section.
StartSec
Type:  OnlineSystem String  
This is an array of the names of the frame section properties at the start of each segment.

Auto select lists and nonprismatic sections are not allowed in this array.

EndSec
Type:  OnlineSystem String  
This is an array of the names of the frame section properties at the end of each segment.

Auto select lists and nonprismatic sections are not allowed in this array.

MyLength
Type:  OnlineSystem Double  
This is an array that includes the length of each segment. The length may be variable or absolute as indicated by the MyType item. [L] when length is absolute.
MyType
Type:  OnlineSystem Int32  
This is an array of either 1 or 2, indicating the length type for each segment:
ValueMyType
1Variable (relative length)
2Absolute
EI33
Type:  OnlineSystem Int32  
This is an array of 1, 2 or 3, indicating the variation type for EI33 in each segment:
ValueEI33
1Linear
2Parabolic
2Cubic
EI22
Type:  OnlineSystem Int32  
This is an array of 1, 2 or 3, indicating the variation type for EI22 in each segment:
ValueEI22
1Linear
2Parabolic
2Cubic
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 data is successfully filled; otherwise it returns a nonzero value.
Remarks

Examples

See Also