*SetOrientation() - marker single axis orientation

Uses the single axis method to set the orientation of a marker.

Syntax

*SetOrientation(frame, ONEAXIS, 
                                 X|Y|Z, 
                                 POINT|VECTOR|DXDYDZ, 
                                 point_name|vector_name|x,y,z)

Arguments

frame
The variable name of an existing marker.
Data type: Marker
ONEAXIS
This argument specifies the single axis method.
X Y Z
This argument specifies one of the three coordinates axes for which the marker orientation is being set.
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_name vector_name x,y,z
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, Vector, or three reals

Example

*SetOrientation(marker_name, ONEAXIS, Y, POINT, point_1)
*SetOrientation(marker_name, ONEAXIS, Z, VECTOR, vector_1)
*SetOrientation(marker_name, ONEAXIS, X, 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.

MediaView orients the second axis automatically (remainder of X, Y, and Z) along the XY plane.

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