GET FEAT TYPE

From Macros Wiki
Revision as of 21:13, 29 July 2010 by ConnerO (talk | contribs)
Jump to navigationJump to search

Command

GET_FEAT_TYPE <feature num>, <type>


Get the type of the defined feature number.

Parameters

<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).
<type>
.edit.

Example

GET_FEAT_TYPE 3, a1
For an example macro see Calc_Geo_Extents Debug_Sel_geo