GET CIRCLE DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| 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 21:58, 29 July 2010
Command
- 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
