GET CIRCLE DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
===Example=== | ===Example=== | ||
:GET_CIRCLE_DATA 22, | :GET_CIRCLE_DATA 22, 1, r1, x1, y1, z1 | ||
:For an example in a real macro see [[Check_Circle_Data]] [[Print_Geo_Data_To_File]] | :For an example in a real macro see [[Check_Circle_Data]] [[Print_Geo_Data_To_File]] | ||
[[Category:Geometry]] | [[Category:Geometry]] | ||
Revision as of 22:53, 2 August 2010
Command
- Get the center and radius values from a circle geometry feature.
Parameters
- <geo ref>
- The reference number of the geometry feature.
- <cs>
- Set to zero to return the values in the CS associated with the geometry feature.
- Set to 1 to return values in the world CS.
- <rad>
- The name of a numeric variable to set to the circle radius
- <xc>
- The name of a numeric variable to set to the X position of the circle center
- <yc>
- The name of a numeric variable to set to the Y position of the circle center
- <zc> (optional)
- The name of a numeric variable to set to the Z position of the circle center
Example
- GET_CIRCLE_DATA 22, 1, r1, x1, y1, z1
- For an example in a real macro see Check_Circle_Data Print_Geo_Data_To_File
