Ets_Shapeset_Shape_Nth_Remove()
Note: Requires OPNET Development Kit
Abstract
Removes the nth shape from a shapeset and returns a handle to it.
Syntax
Ets_Shapeset_Shape_Nth_Remove (shapeset_mdl_hndl, shape_index)
| Argument | Type | Description |
|---|---|---|
shapeset_mdl_hndl |
EtsT_Model_Handle |
Handle to the shapeset of interest. |
shape_index |
unsigned int |
Index of the shape to remove. |
Return Type
EtsT_Shape_Handle
Handle to the removed shape, or NIL if the index is out of range.
Header
ets_api_shapeset.h
Details
This function does not destroy the removed shape. To destroy a shape after removing it from a shapeset, use Ets_Shape_Destroy().