VDefSetMotionRange Method

Description
Limits a motion range by VDefTool, VDefArm, VDefLocal, and VGoCenter.

Syntax
Sub VDefSetMotionRange(MaxMoveDist As Double, MaxPoseDiffAngle As Double, LjmMode As Integer)

Parameters

  • MaxMoveDist
    A real number indicating the maximum travel distance.
    If 0 is specified, the range is not limited. (0 to 500. Default: 200)
    VDefTool, VDefArm, VDefLocal, and VGoCenter are used to limit the range.
  • MaxPoseDiffAngle
    A real number indicating the maximum displacement angle (degrees) of the hand orientation (UVW).
    If 0 is specified, the range is not limited.
    It only affects VDefLocal. (0 to 180. Default: 45 degrees)
  • LjmMode
    An integer indicating the LJM mode.

See Also
VDefTool Method, VDefArm Method, VDefLocal Method, VGoCenter Method, VDefGetMotionRange Method

VDefSetMotionRange Example
VB Example:

m_spel.VDefSetMotionRange(100, 30, 1)  

C# Example:

m_spel.VDefSetMotionRange(100, 30, 1);