Difference between revisions of "GET TOOL DATA"

From Macros Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|param1=<tool number>|param1_desc={{tool number}}
 
|param1=<tool number>|param1_desc={{tool number}}
 
|param2=<parameter>|param2_desc={{Tool_parameter}}
 
|param2=<parameter>|param2_desc={{Tool_parameter}}
|param3=<value>|param3_desc={{get data var}}
+
|param3=<variable>|param3_desc={{get data var}}
 
}}
 
}}
  

Revision as of 12:01, 29 July 2010

Command

GET_TOOL_DATA <tool number>, <parameter>, <variable>


Get the data of the tool parameter on a certain tool.

Parameters

<tool number>
Tool number
<parameter>
Tool_parameter
<variable>
A number or string variable.
The type of variable must match the data type of the parameter.
If the data you are getting is a text string, then you must specify a string variable. Otherwise use a number variable.

Example

GET_TOOL_DATA 4, MTOOL_LENGTH, l1