Skip to main content

NRC_SwitchToolCoord(int tagetTool)

Switch current tool hand

Type

int =>Switch current tool hand

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
tagetToolintThe number of the target tool hand to switch to, 0 means no tool hand, parameter range: 0 <= tagetTool < 10

Sample code

NRC_SwitchToolCoord(2);