GET ARC DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
[[Geometry:Selecting_Geometry|'''Back''']]
{{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.

Revision as of 21:51, 30 July 2010

Back

Command

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


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> (optional)
The name of a numeric variable to set to the Z position of the arc center

Example

GET_ARC_DATA 21, 1, r1, x1, y1, z1
For an example macro see Print_Geo_Data_To_File