cLinkObj GetTransformationMatrix Method CSi API ETABS 2015
Retrieves the transformation matrix for a link object.

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

int GetTransformationMatrix(
	string Name,
	ref double[] Value,
	bool IsGlobal = true
)

Parameters

Name
Type: OnlineSystem String
The name of an existing link object.
Value
Type:  OnlineSystem Double  
Value is an array of nine direction cosines that define the transformation matrix.

The following matrix equation shows how the transformation matrix is used to convert items from the link object local coordinate system to the global coordinate system.

|c0 c1 c2| |Local1| |GlobalX|

|c3 c4 c5| * |Local2| = |GlobalY|

|c6 c7 c8| |Local3| |Globalz|

In the equation, c0 through c8 are the nine values from the transformation array, (Local1, Local2, Local3) are an item (such as a load) in the object local coordinate system, and (GlobalX, GlobalY, GlobalZ) are the same item in the global coordinate system.

The transformation from the local coordinate system to the present coordinate system is the same as that shown above for the global system if you substitute the present system for the global system.

IsGlobal (Optional)
Type: OnlineSystem Boolean
If this item is True, the transformation matrix is between the Global coordinate system and the link object local coordinate system. If this item is False, the transformation matrix is between the present coordinate system, and the link object local coordinate system.

Return Value

Returns zero if the link object transformation matrix is successfully retrieved; otherwise it returns a nonzero value.
Remarks

Examples

See Also