Dist_Axes Property
Application
Force Motion Restriction Object FMR#
Description
Sets or returns the subject axis for finding the force motion restriction range in relation to distance.
Immediate Execution
No
Usage
FGet Object.Dist_Axes, iVar
FSet Object.Dist _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
Constant name | Values | Description |
---|---|---|
FG_XYZ | 0 | The movement distance of X, Y, Z axis are combined. (default) (Dist = sqrt(PosX2 + PosY2 + PosZ2) ) |
FG_XY | 1 | The movement distance of X, Y axis are combined. (Dist = sqrt(PosX2 + PosY2) ) |
FG_YZ | 2 | The movement distance of Y, Z axis are combined. (Dist = sqrt(PosY2 + PosZ2) ) |
FG_ZX | 3 | The movement distance of Z, X axis are combined. (Dist = sqrt(PosX2 + PosZ2) ) |
Detailed Explanation
Dist is a value that combined the movement distance of target axis from X, Y, Z.
This property is used when set or check the target axis to acquire the combined movement distance.
Usage Example
This is an example of setting or checking the target axis to acquire the combined movement distance for force motion restriction object.
Function Test_Dist_Axes
Integer iVar
FSet FMR1.Dist_Axes, FG_ZX
FGet FMR1.Dist _Axes, iVar
Print iVar
Fend
See Also
Force Motion Restriction Object FMR#