GET OP FEAT START: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 11: Line 11:
===Example===
===Example===
:GET_OP_FEAT_START
:GET_OP_FEAT_START
:For an example in a real macro see [[Modify_op_path2]]


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

Revision as of 18:30, 27 July 2010

Command

GET_OP_FEAT_START <op number>, <feature num>, <xs>, <ys>, [<zs>]


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).
<xs>
Set the value of a number variable for the X co-ordinate of the start point.
<ys>
Set the value of a number variable for the Y co-ordinate of the start point.
[<zs>]
Set the value of a number variable for the Z co-ordinate of the start point.

Example

GET_OP_FEAT_START
For an example in a real macro see Modify_op_path2