POINT GET DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Geometry:Creating_Geometry|{{Up}}]]
{{Command|syntax=POINT_GET_DATA <point number>, <x>, <y>,
{{Command|syntax=POINT_GET_DATA <point number>, <x>, <y>,
|description=this is used to set 2 variables to the X and Y position of the point.
|description=:Get the position of a point.


|param1=<point number>|param1_desc= {{point number}}
|param1=<point number>|param1_desc= {{point number}}
|param2=<x>|param2_desc= {{x}}
|param2=<x>|param2_desc= {{x}}
|param3=<y>|param3_desc= {{y}}
|param3=<y>|param3_desc= {{y}}
Line 8: Line 10:


===Example===
===Example===
:- GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
:POINT_GET_DATA 2, x1, y1
 
:- GET_TOOL_DATA 4, COMMENT, MyToolComment$
 




[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 00:23, 15 January 2011

Up

Command

POINT_GET_DATA <point number>, <x>, <y>,


Get the position of a 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

POINT_GET_DATA 2, x1, y1