SET TOOL DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=SET_TOOL_DATA <tool number>, <parameter>, <value>
{{Command|syntax=SET_TOOL_DATA <tool number>, <parameter>, <value>
|description=:Set various parameters to tools.
|description=:Set tool data.


|param1=<tool number>|param1_desc={{tool number}}
|param1=<tool number>|param1_desc={{tool number}}

Revision as of 23:50, 19 October 2010

Up

Command

SET_TOOL_DATA <tool number>, <parameter>, <value>


Set tool data.

Parameters

<tool number>
Tool number
<parameter>
Tool_parameter
<value>
A value to assign to the parameter.
The type of value must match the data type of the parameter.
If you are setting a text parameter, then the value must be text string or a string variable. Otherwise use a numeric value or a number variable.

Example

SET_TOOL_DATA 3, MTOOL_LENGTH, 12