Difference between revisions of "GET TOOL DATA"

From Macros Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|syntax=GET_TOOL_DATA <[[tool number]]>, <[[tool parameter]]>, <[[number variable]]>
+
[[:Tools:Tool_Data|{{Up}}]]
|description=get some tool data, see [[GibbsCAM.GibbsPlugin.Init_Plugin]].
 
  
UNFINISHED
+
{{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable>
 +
|description=:Get tool data.
  
|param1=tool number|param1_desc= Number of the tool
+
|param1=<tool number>|param1_desc={{tool number}}
|param2=tool parameter|param2_desc= tool parameter from a list
+
|param2=<parameter>|param2_desc={{Tool_parameter}}
 +
|param3=<variable>|param3_desc={{get data var}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:- GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
+
:GET_TOOL_DATA 4, MTOOL_LENGTH, l1
 +
:GET_TOOL_DATA 3, COMMENT, c$
  
:- GET_TOOL_DATA 4, COMMENT, MyToolComment$
+
[[Category:Tools]]
 
 
 
 
 
 
[[Category:Tool]]
 

Latest revision as of 18:37, 14 January 2011

Up

Command

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


Get tool data.

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
GET_TOOL_DATA 3, COMMENT, c$