Ets_Model_Selected_Count_Get()
Abstract
Returns the number of objects that are selected in the model.
Syntax
Ets_Model_Selected_Count_Get (mdl_hndl)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Model containing the selected objects of interest. |
Return Type
int
Number of objects selected in that model.
Header
ets_api_model.h
Details
The given model must be valid. Be aware that if you delete objects from (or insert them into) the iteration object set, the iteration count might change AND the object at a position > i, where i is the position of insertion or deletion, may not be the same as the one in that position prior to insertion or deletion. For this reason, you might want to iterate backwards if you are deleting objects.