*SetOrientation() - marker angles orientation

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

Syntax

*SetOrientation(frame, ANGLES, 
                                 ref_marker, 
                                 ang_1, 
                                 ang_2, 
                                 ang_3)

Arguments

frame
The variable name of an existing marker.
Data type: Marker
ANGLES
This argument specifies the Euler angles (body fixed 3-1-3) method of orienting the marker.
ref_marker
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, ANGLES, MODEL.marker0, 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.