Difference between revisions of "GET OP FEAT ARC DATA"
From Macros Wiki
Line 4: | Line 4: | ||
|param1=<op number>|param1_desc={{op number}} | |param1=<op number>|param1_desc={{op number}} | ||
|param2=<feature num>|param2_desc={{feature num}} | |param2=<feature num>|param2_desc={{feature num}} | ||
− | |param3=<rad>|param3_desc={{ | + | |param3=<rad>|param3_desc={{getradius}} |
− | |param4=<dir>|param4_desc= {{ | + | |param4=<dir>|param4_desc= {{getdir}} |
− | |param5=<xc>|param5_desc={{ | + | |param5=<xc>|param5_desc={{getxc}} |
− | |param6=<yc>|param6_desc={{ | + | |param6=<yc>|param6_desc={{getyc}} |
− | |param7=<nowiki>[<zc>]</nowiki>|param7_desc={{ | + | |param7=<nowiki>[<zc>]</nowiki>|param7_desc={{getzc}} |
}} | }} | ||
Revision as of 13:18, 27 July 2010
Command
- GET_OP_FEAT_ARC_DATA <op number>, <feature num>, <rad>, <dir>, <xc>, <yc>, [<zc>]
Parameters
- <op number>
- Operation number.
- <feature num>
- The index to the feature. This will be 1 for the first feature, 2 for the second etc.
- If you have selected a shape, then 1 will be the first line/arc in the shape, 2 will be the second.
- If you have selected a number of points, lines and circles, then index 1 will give you the first
- feature that you selected, 2 will be the second (in the order that you selected them).
- <rad>
- Set the value of a number variable for the radius of the circle or arc.
- <dir>
- Set the value of a number variable for the Clockwise / Counter-Clockwise direction.
- <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_OP_FEAT_ARC_DATA