VDefSetMotionRange方法
描述
由VDefTool、VDefArm、VDefLocal及VGoCenter限制動作範圍。
語法
Sub VDefSetMotionRange(MaxMoveDist As Double, MaxPoseDiffAngle As Double, LjmMode As Integer)
參數
- MaxMoveDist
代表最大移動距離的實數
如果指定0,範圍不受限制。(0至500。預設:200)
VDefTool、VDefArm、VDefLocal及VGoCenter用於限制範圍。 - MaxPoseDiffAngle
代表工具方向(UVW)最大位移角度(度)的實數
如果指定0,範圍不受限制。
這只會影響VDefLocal。(0至180。預設:45度) - LjmMode
代表LJM模式的整數。
另請參閱
VDefTool方法, VDefArm方法, VDefLocal方法, VGoCenter方法, VDefGetMotionRange方法
VDefSetMotionRange範例
VB 例:
m_spel.VDefSetMotionRange(100, 30, 1)
C# 例:
m_spel.VDefSetMotionRange(100, 30, 1);