InsideBox 方法

描述
返回结束检查区域的检查状态。

语法
Function InsideBox (BoxNumber As Integer) As Boolean

参数

  • BoxNumber
    返回检测状态的进入检测区域编号(1至15之间的整数)。

返回值
如果机器人夹具末端位于指定框内,则返回 True,否则返回 False。

参阅
Box 方法, InsidePlane 方法

InsideBox 示例
VB 例:

Dim isInside As Boolean  
isInside = m_spel.InsideBox(1)  

C# 例:

bool isInside;  
isInside = m_spel.InsideBox(1);