Difference between revisions of "GET NUM FEAT SELECTED"

From Macros Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users 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 selected and stores result in a variable.
+
|description=:Get the number of features currently selected.
  
|param1=<num features>|param1_desc=Define a variable for the number of features selected.
+
|param1=<num features>|param1_desc={{get num feat}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:GET_NUM_FEAT_SELECTED w1
+
:GET_NUM_FEAT_SELECTED x2
 
+
:For an example macro see  [[Calc_Geo_Extents]] [[Debug_Sel_geo]]
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Latest revision as of 17:56, 2 August 2010

Up

Command

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