GET PATH FEAT ARC DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 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={{ | |param2=<feature number>|param2_desc={{path_feature num}} | ||
|param3=<rad>|param3_desc={{ | |param3=<rad>|param3_desc={{get feat rad}} | ||
|param4=<dir>|param4_desc= {{ | |param4=<dir>|param4_desc={{get feat dir}} | ||
|param5=<xc>|param5_desc={{ | |param5=<xc>|param5_desc={{get feat xc}} | ||
|param6=<yc>|param6_desc={{ | |param6=<yc>|param6_desc={{get feat yc}} | ||
|param7= | |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
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