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
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command|syntax=POINT_GET_DATA <[[point number]]>, <x>, <y>,
[[Geometry:Creating_Geometry|{{Up}}]]
|description=this is used to set 2 variables to the X and Y position of the point.


|param1=<point number>|param1_desc= the number of the point (1 to 100) to be defined.This is a number used by the macro to create other geometry.
{{Command|syntax=POINT_GET_DATA <point number>, <x>, <y>,
|param2=<x>|param2_desc= the x axis value
|description=:Get the position of a point.
|param3=<y>|param3_desc= the y axis value
 
|param1=<point number>|param1_desc= {{point number}}
|param2=<x>|param2_desc= {{x}}
|param3=<y>|param3_desc= {{y}}
}}
}}


===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