Difference between revisions of "GET CIRCLE DATA"

From Macros Wiki
Jump to: navigation, search
Line 12: Line 12:
 
===Example===
 
===Example===
 
:GET_CIRCLE_DATA 22, 0, s1, d1, h1, a4
 
:GET_CIRCLE_DATA 22, 0, s1, d1, h1, a4
:For an example in a real macro see [[Check_Circle_Data]]
+
:For an example in a real macro see [[Check_Circle_Data]] [[Print_Geo_Data_To_File]]
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Revision as of 16:58, 29 July 2010

Command

GET_CIRCLE_DATA
GET_CIRCLE_DATA <geo ref>, <cs>, <rad>, <xc>, <yc>, [<zc>]


Get data about a circle, the values of the radius x, y and z center are stored in a defined variable.

Parameters

<geo ref>
The reference number of the geometry feature.
<cs>
Template:Cs
<rad>
Set the value of a number variable for the radius of the circle or arc.
<xc>
Set the value of a number variable for the X co-ordinate of the center point.
<yc>
Set the value of a number variable for the Y co-ordinate of the center point.
[<zc>]
Set the value of a number variable for the Z co-ordinate of the end point.

Example

GET_CIRCLE_DATA 22, 0, s1, d1, h1, a4
For an example in a real macro see Check_Circle_Data Print_Geo_Data_To_File