Rot_Axes Property

Application
Force Motion Restriction Object FMR#

Description
Sets or returns the subject axis for calculating the force motion restriction range for rotation angle.

Immediate Execution
No

Usage
FGet Object.Rot_Axes, iVar
FSet Object.Rot_Axes, iValue

  • Object
    Object name
    The object is specified as either of FMR (numerical value) or FMR (label).

  • iVar
    An integer variable defining the value of the property

  • iValue
    An integer value or formula defining the new value of the property

Values
iValue

Name of Constants Values Description
FG_ROT_X 0 Specify the angle formed by the X-axis for the rotation angle (default)
FG_ROT_Y 1 Specify the angle formed by the Y-axis for the rotation angle
FG_ROT_Z 2 Specify the angle formed by the Z-axis for the rotation angle
FG_ROT _ALL 3 Specify the rotation amount with arbitrary axis rotation for the rotation angle

Detailed Explanation
Rot is X, Y, Z axis of when started force motion restriction and angle made by X, Y, Z axis in current or, rotation amount with arbitrary axis rotation.
Arbitrary axis rotation is an axis that movable with 1 rotation in around a virtual axis (one straight line) when there are two postures (U, V, W). This is used when set the condition of overall rotation angle with no limit for each axis.
This property is used to sets or confirm the subject axis to calculate the rotation angle.

Usage Example
This is an example sets and acquires the subject axis to calculate the rotation angle for force motion restriction object.

Function Test_Rot_Axes
  Integer iVar
  FSet FMR1.Rot_Axes, FG_ROT_X
  FGet FMR1.Rot_Axes, iVar
  Print iVar
Fend

See Also
Force Motion Restriction Object FMR#