ORI_ALONG_AXIS

Returns the alignment of a specified axis from one coordinate system object to another. This function has an underlying parameter that allows it to express the resulting orientation in the proper coordinate system object. 

Note:  
ORI_ALONG_AXIS duplicates the actions of the ALONG_AXIS_ORIENTATION parameter on the PART and MARKER commands.

Format

ORI_ALONG_AXIS (From Frame, To Frame, Axis Name)
 
From Frame
Coordinate system object that defines a starting point for the orientation vector.
To Frame
Coordinate system object that defines the ending point for the orientation vector.
Axis Name
Character string indicating which axis is to be aligned. The possible values are x, y or z (character case is not significant).

Example

In the following illustration, the ORI_ALONG_AXIS function returns the alignment of a specified axis:
 
Function
ORI_ALONG_AXIS(marker_1, marker_2, "y")
Result
315, 0, 0
 

Note:  
The returned y axis is aligned with the line through marker_1 and marker_2.