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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com