*SetOrientation() - marker dual axes orientation

Uses the dual axes method to set the orientation of a marker.

Syntax

*SetOrientation(frame, TWOAXES, 
                                 XY|XZ|YX|YZ|ZX|ZY, 
                                 POINT|VECTOR|DXDYDZ, 
                                 point_1|vector_1|xyz_1, 
                                 POINT|VECTOR|DXDYDZ, 
                                 point_2|vector_2|xyz_2)

Arguments

frame
The variable name of an existing marker.
Data type: Marker variable or Bush variable
TWOAXES
This argument specifies the two-axis method of orienting a marker.
Data type: Keyword
XY XZ YX YZ ZX ZY
This argument specifies one of the six axes pairs used to specify the two-axis method. The orientation is determined by specifying a vector that is parallel to the X, Y, or Z axis of the frame and another vector that lies on the XY, XZ, YX, YZ, ZX, or ZY plane of the marker.
Data type: Keyword
POINT|VECTOR|DXDYDZ
Keyword that indicates the alignment method for the axis. POINT suggests that the next argument in this statement is expected to be a point variable. If VECTOR is specified as the keyword, the next argument is expected to be resolved to a vector variable. DXDYDZ suggests the next set of arguments specified are direction cosines.
Data type: Keyword
point_1 vector_1 xyz_1
A point on the specified axis, a vector along the specified axis, or the X, Y, and Z components of a vector along the specified axis.
Data type: Point or Vector or three reals
point_2 vector_2 xyz_2
A point, vector, or the X, Y, and Z components of a vector in the specified plane.
Data type: Point or Vector or three reals

Example

*SetOrientation(marker_name, TWOAXES, 
XY, 
POINT, 
point_1, 
VECTOR, 
vector_1)
*SetOrientation(marker_name, TWOAXES, 
YX, 
POINT, 
point_1, 
POINT, 
point_2)
*SetOrientation(marker_name, TWOAXES, 
ZX, 
VECTOR, 
vector_1, 
VECTOR, 
vector_2)
*SetOrientation(marker_name, TWOAXES, 
YX, 
POINT, 
point_1, 
DXDYDZ, 
1, 0, 3)
*SetOrientation(bushing_name, TWOAXES, 
ZY, 
DXDYDZ, 
1, 3, 5, 
POINT, 
point_1)
*SetOrientation(marker_name, TWOAXES, 
ZY, 
VECTOR, 
vector_1, 
DXDYDZ, 
3, 4, 5)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

*BeginContext()

Comments

If a point is specified, the orientation vector is calculated by connecting the origin of the frame with the specified point.

Direction cosines are always defined with respect to the global origin.

This statement is used to define the orientation of a bushing defined by *Bush().