POINT GET DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
|description=this is used to set 2 variables to the X and Y position of the point. | |description=this is used to set 2 variables to the X and Y position of the point. | ||
|param1=<point number>|param1_desc= | |param1=<point number>|param1_desc= {{point number}} | ||
|param2=<x>|param2_desc= | |param2=<x>|param2_desc= {{x}} | ||
|param3=<y>|param3_desc= | |param3=<y>|param3_desc= {{y}} | ||
}} | }} | ||
Revision as of 16:30, 16 July 2010
Command
- POINT_GET_DATA <point number>, <x>, <y>,
this is used to set 2 variables to the X and Y position of the point.
Parameters
- <point number>
- The number of a previously defined macro point.
- <x>
- X co-ordinate of a feature.
- <y>
- Y co-ordinate of a feature.
Example
- - GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
- - GET_TOOL_DATA 4, COMMENT, MyToolComment$