Ets_Shapeset_Shape_Nth_Insert()
Note: Requires OPNET Development Kit
Abstract
Inserts a shape into a shapeset at a specified index.
Syntax
Ets_Shapeset_Shape_Nth_Insert (shapeset_mdl_hndl, shape_hndl, insert_at_index)
| Argument | Type | Description |
|---|---|---|
shapeset_mdl_hndl |
EtsT_Model_Handle |
Handle to the shapeset of interest. |
shape_hndl |
EtsT_Shape_Handle |
Handle to the shape to be inserted. |
insert_at_index |
unsigned int |
Index of the position at which to insert the shape. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success or EtsC_Compcode_Failure.
Header
ets_api_shapeset.h
Details
This function inserts a new shape into a shapeset at a specified position. The shapeset takes over ownership of the shape.
Note: All shapes in a shapeset must have the same coordinate system units.