GET OP FEAT END: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Operations:Operation_Tool-Path|{{Up}}]] | |||
{{Command|syntax=GET_OP_FEAT_END <op number>, <feature num>, <xe>, <ye>, <nowiki>[<ze>]</nowiki> | {{Command|syntax=GET_OP_FEAT_END <op number>, <feature num>, <xe>, <ye>, <nowiki>[<ze>]</nowiki> | ||
|description=: | |description=: | ||
Revision as of 23:42, 30 July 2010
Command
- GET_OP_FEAT_END <op number>, <feature num>, <xe>, <ye>, [<ze>]
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).
- <xe>
- Set the value of a number variable to the X co-ordinate of the end point.
- <ye>
- Set the value of a number variable for the y co-ordinate of the end point.
- [<ze>]
- Set the value of a number variable for the Z co-ordinate of the end point.
Example
- GET_OP_FEAT_END
- For an example macro see Modify_op_path2