GET ARC DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 1: Line 1:
{{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 data about an arc, the values of the radius x, y and z center are stored in a defined variable.
|description=:Get the center and radius values from an arc geometry feature.


|param1=<geo ref>|param1_desc={{geo ref}}
|param1=<geo ref>|param1_desc={{geo ref}}
|param2=<cs>|param2_desc={{cs}}
|param2=<cs>|param2_desc={{get geo cs}}
|param3=<rad>|param3_desc={{getradius}}
|param3=<rad>|param3_desc={{get arc radius}}
|param4=<xc>|param4_desc={{getxc}}
|param4=<xc>|param4_desc={{getxc}}
|param5=<yc>|param5_desc={{getyc}}
|param5=<yc>|param5_desc={{getyc}}

Revision as of 21:51, 29 July 2010

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>
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_ARC_DATA 21, 1, r1, x1, y1, z1