GET ARC DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Geometry:Selecting_Geometry|{{Up}}]] | |||
{{Command|syntax=[[Image:get_arc_data.png|right|GET_ARC_DATA]]GET_ARC_DATA <geo ref>, <cs>, <rad>, <xc>, <yc>, [<zc>] | {{Command|syntax=[[Image:get_arc_data.png|right|GET_ARC_DATA]]GET_ARC_DATA <geo ref>, <cs>, <rad>, <xc>, <yc>, [<zc>] | ||
|description=:Get the center and radius values from an arc geometry feature. | |description=:Get the center and radius values from an arc geometry feature. | ||
| Line 7: | Line 9: | ||
|param4=<xc>|param4_desc={{get arc xc}} | |param4=<xc>|param4_desc={{get arc xc}} | ||
|param5=<yc>|param5_desc={{get arc yc}} | |param5=<yc>|param5_desc={{get arc yc}} | ||
|param6=<zc> | |param6=[<zc>]|param6_desc={{get arc zc}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:GET_ARC_DATA | :GET_ARC_DATA 22, 1, r1, x1, y1, z1 | ||
:For an example macro see [[Print_Geo_Data_To_File]] | |||
[[Category:Geometry]] | [[Category:Geometry]] | ||
Latest revision as of 14:34, 12 August 2010
Command
- Get the center and radius values from an arc 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 arc radius
- <xc>
- The name of a numeric variable to set to the X position of the arc center
- <yc>
- The name of a numeric variable to set to the Y position of the arc center
- [<zc>]
- The name of a numeric variable to set to the Z position of the arc center
Example
- GET_ARC_DATA 22, 1, r1, x1, y1, z1
- For an example macro see Print_Geo_Data_To_File
