PlaneDef Function
Returns the setting of the approach check plane.
Syntax
PlaneDef (PlaneNum [, robotNumber])
Parameters
- PlaneNum
- Specify the number of the entry detection plane (an integer from 1 to 15) whose status is to be returned.
- robotNumber
- Specify the robot number to be set by an integer value. If omitted, the current robot will be specified.
Return Values
True if approach detection plane is defined for the specified plane number, otherwise False.
See Also
GetRobotInsidePlane, Box, InsidePlane, Plane, PlaneClr
PlaneDef Function Example
Function DisplayPlaneDef(planeNum As Integer)
If PlaneDef(planeNum) = False Then
Print "Plane ", planeNum, "is not defined"
Else
Print "Plane 1: ",
Print Plane(PlaneNum)
EndIf
Fend