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 9: 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> (optional)|param6_desc={{get arc zc}}
|param6=[<zc>]|param6_desc={{get arc zc}}
}}
}}



Latest revision as of 14:34, 12 August 2010

Up

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>]
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