GET PATH FEAT 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
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Operations:Operation_Tool-Path|{{Up}}]]
{{Command|syntax=GET_PATH_FEAT_ARC_DATA <path number>, <feature number>, <rad>, <dir>, <xc>, <yc> [<zc>]
{{Command|syntax=GET_PATH_FEAT_ARC_DATA <path number>, <feature number>, <rad>, <dir>, <xc>, <yc> [<zc>]
|description=:
|description=:Get data from an arc feature in a numbered [[macro path]].


|param1=<path number>|param1_desc={{path number}}
|param1=<path number>|param1_desc={{path number}}
|param2=<feature number>|param2_desc={{feature num}}
|param2=<feature number>|param2_desc={{path_feature num}}
|param3=<rad>|param3_desc={{radius}}
|param3=<rad>|param3_desc={{get feat rad}}
|param4=<dir>|param4_desc= {{dir}}
|param4=<dir>|param4_desc={{get feat dir}}
|param5=<xc>|param5_desc={{xc}}
|param5=<xc>|param5_desc={{get feat xc}}
|param6=<yc>|param6_desc={{yc}}
|param6=<yc>|param6_desc={{get feat yc}}
|param7=[<zc>]|param7_desc={{zc}}
|param7=<zc>|param7_desc={{get feat zc}}
 
}}
}}


===Example===
===Example===
:GET_PATH_FEAT_ARC_DATA
:GET_PATH_FEAT_ARC_DATA 1, 12, ArcRad, ArcDir, xc, yc, zc


[[Category:Operations]]
[[Category:Operations]]

Latest revision as of 16:51, 14 January 2011

Up

Command

GET_PATH_FEAT_ARC_DATA <path number>, <feature number>, <rad>, <dir>, <xc>, <yc> [<zc>]


Get data from an arc feature in a numbered macro path.

Parameters

<path number>
Path number (1 to 100).
<feature number>
Feature number. 1 for the first feature, 2 for the second etc.
<rad>
The name of a numeric variable to be set to the radius of the feature
<dir>
The name of a numeric variable to be set to the feature direction (1 = CW, 0 = CCW)
<xc>
The name of a numeric variable to be set to the X center of the feature
<yc>
The name of a numeric variable to be set to the Y center of the feature
<zc>
The name of a numeric variable to be set to the Z center of the feature

Example

GET_PATH_FEAT_ARC_DATA 1, 12, ArcRad, ArcDir, xc, yc, zc