GET NUM FEAT SELECTED: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Geometry:Selecting_Geometry|{{Up}}]]
{{Command|syntax=[[Image:get_num_feat_selected.png|right|GET_NUM_FEAT_SELECTED]]GET_NUM_FEAT_SELECTED <num features>
{{Command|syntax=[[Image:get_num_feat_selected.png|right|GET_NUM_FEAT_SELECTED]]GET_NUM_FEAT_SELECTED <num features>
|description=:Get the number of features currently selected.
|description=:Get the number of features currently selected.
Line 6: Line 8:


===Example===
===Example===
:GET_NUM_FEAT_SELECTED w1
:GET_NUM_FEAT_SELECTED x2
:For an example macro see  [[Calc_Geo_Extents]] [[Debug_Sel_geo]]
:For an example macro see  [[Calc_Geo_Extents]] [[Debug_Sel_geo]]
[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 22:56, 2 August 2010

Up

Command

GET_NUM_FEAT_SELECTED
GET_NUM_FEAT_SELECTED
GET_NUM_FEAT_SELECTED <num features>


Get the number of features currently selected.

Parameters

<num features>
The name of a numeric variable to set to the number of features

Example

GET_NUM_FEAT_SELECTED x2
For an example macro see Calc_Geo_Extents Debug_Sel_geo