GET PATH FEAT ARC DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{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={{ | |param2=<feature number>|param2_desc={{path_feature num}} | ||
|param3=< | |param3=<xs>|param3_desc={{get feat rad}} | ||
|param4=< | |param4=<xs>|param4_desc={{get feat dir}} | ||
|param5=< | |param5=<xs>|param5_desc={{get feat xc}} | ||
|param6=< | |param6=<ys>|param6_desc={{get feat yc}} | ||
|param7= | |param7=<zs>|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]] | ||
Revision as of 00:05, 14 January 2011
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.
- <xs>
- The name of a numeric variable to be set to the radius of the feature
- <xs>
- The name of a numeric variable to be set to the feature direction (1 = CW, 0 = CCW)
- <xs>
- The name of a numeric variable to be set to the X center of the feature
- <ys>
- The name of a numeric variable to be set to the Y center of the feature
- <zs>
- 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