NRC_SwitchToolCoord(int tagetTool)
Switch current tool hand
Type
int =>Switch current tool hand
Return value | Description |
---|---|
0 | The function is called successfully |
-101 | Invalid input parameter |
-102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
-103 | The target object is currently in an inoperable state |
Parameter Option
Parameter | Type | Description |
---|---|---|
tagetTool | int | The number of the target tool hand to switch to, 0 means no tool hand, parameter range: 0 <= tagetTool < 10 |
Sample code
NRC_SwitchToolCoord(2);