GetTool Method

Description
Returns the current Tool number for the current robot.

Syntax
Function GetTool () As Integer

Return Value
Integer containing the current tool number.

See Also
Arm Method, TLSet Method, Tool Method

GetTool Example
VB Example:

saveTool = m_spel.GetTool()  
m_spel.Tool(2)  

C# Example:

saveTool = m_spel.GetTool();  
m_spel.Tool(2);