cLinkObj SetLocalAxesAdvanced Method CSi API ETABS 2015
Assigns advanced local axes to link objects

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

int SetLocalAxesAdvanced(
	string Name,
	bool Active,
	int AxVectOpt,
	string AxCSys,
	ref int[] AxDir,
	ref string[] AxPt,
	ref double[] AxVect,
	int Plane2,
	int PlVectOpt,
	string PlCSys,
	ref int[] PlDir,
	ref string[] PlPt,
	ref double[] PlVect,
	eItemType ItemType = eItemType.Objects
)

Parameters

Name
Type: OnlineSystem String
The name of an existing link object or group depending on the value of the ItemType item.
Active
Type: OnlineSystem Boolean
This is True if advanced local axes exist
AxVectOpt
Type: OnlineSystem Int32
This is 1, 2, or 3, indicating the axis reference vector option. This item applies only when the Active item is True.
ValueAxVectOpt
1Coordinate direction
2Two joints
3User vector
AxCSys
Type: OnlineSystem String
The coordinate system used to define the axis reference vector coordinate directions and the axis user vector. This item applies when the Active item is True and the AxVectOpt item is 1 or 3.
AxDir
Type:  OnlineSystem Int32  
AxPt
Type:  OnlineSystem String  
This is an array dimensioned to 1 (2 strings), indicating the labels of two joints that define the axis reference vector. Either of these joints may be specified as None to indicate the center of the specified object. If both joints are specified as None, they are not used to define the axis reference vector. This item applies when the Active item is True and the AxVectOpt item is 2.
AxVect
Type:  OnlineSystem Double  
This is an array dimensioned to 2 (3 doubles) that defines the axis reference vector. This item applies when the Active item is True and the AxVectOpt item is 3.
Plane2
Type: OnlineSystem Int32
This is 12 or 13, indicating that the local plane determined by the plane reference vector is the 1-2 or 1-3 plane. This item applies only when the Active item is True.
PlVectOpt
Type: OnlineSystem Int32
This is 1, 2, or 3, indicating the plane reference vector option. This item applies only when the Active item is True.
ValuePlVectOpt
1Coordinate direction
2Two joints
3User vector
PlCSys
Type: OnlineSystem String
PlDir
Type:  OnlineSystem Int32  
PlPt
Type:  OnlineSystem String  
This is an array dimensioned to 1 (2 strings), indicating the labels of two joints that define the plane reference vector. Either of these joints may be specified as None to indicate the center of the specified object. If both joints are specified as None, they are not used to define the plane reference vector. This item applies when the Active item is True and the PlVectOpt item is 2.
PlVect
Type:  OnlineSystem Double  
This is an array dimensioned to 2 (3 doubles) that defines the plane reference vector. This item applies when the Active item is True and the PlVectOpt item is 3.
ItemType (Optional)
Type: ETABS2015 eItemType
This is one of the items in the eItemType enumeration.

If this item is Objects, the assignment is made to the link object specified by the Name item.

If this item is Group, the assignment is made to the all link objects in the group specified by the Name item.

If this item is SelectedObjects, the assignment is made to all selected link objects, and the Name item is ignored.

Return Value

Returns zero if the advanced local axes assignments are assigned successfully; otherwise, it returns a nonzero value.
Remarks

Examples

See Also