*SetOrientation() - marker pair angles orientation

Uses the angles orientation method to set the orientation of a marker pair.

Syntax

*SetOrientation(frame, LEFT|RIGHT, ANGLES, 
                                             ref_marker, 
                                             ang_1, 
                                             ang_2, 
                                             ang_3)

Arguments

frame
The variable name of an existing marker pair.
Data type: MarkerPair
LEFT RIGHT
See Comments.
ANGLES
This argument specifies the Euler angles (body fixed 3-1-3) method of orienting the marker pair.
ref_marker
The variable name of the marker with respect to which the Euler angles are given.
Data type: Marker
ang_1
The first of the three rotations about the Z axis of the original marker.
Data type: real
ang_2
The second rotation about the new X axis of the marker.
Data type: real
ang_3
The third rotation about the new Z axis of the marker.
Data type: real

Example

*SetOrientation(marker1, LEFT, ANGLES, , 30, 40, 50)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

The Euler angles are used to orient the frame with respect to ref_marker. All angles must be given in degrees.

If the *SetOrientation() statement has no value for ref_marker, frame is oriented with respect to the global marker.

If no *SetOrientation() statement appears in the model, frame has the same orientation as the global marker.

Using the LEFT and RIGHT arguments can produce three results:
LEFT
The left marker is oriented as specified and the right marker orientation is made symmetric to the left marker.
RIGHT
The right marker is oriented as specified and the left marker orientation is made symmetric to the right marker.
Neither
The marker pair is asymmetric; attributes are assigned to the left and the right markers individually.