Ets_Shapeset_Model_Destroy()
Note: Requires OPNET Development Kit
Abstract
Destroys a shapeset model.
Syntax
Ets_Shapeset_Model_Destroy (shapeset_mdl_hndl)
| Argument | Type | Description |
|---|---|---|
shapeset_mdl_hndl |
EtsT_Model_Handle |
Handle to the shapeset to be destroyed. |
Return Type
void
No return value.
Header
ets_api_shapeset.h
Details
In general, use of this function is not recommended. Shapeset models can be cached and shared by different clients or network models, so you may be destroying a model needed elsewhere. Instead of destroying a shapeset model, keep it referenced (by calling Ets_Shapeset_Model_Reference()) for as long as needed, then release it with Ets_Shapeset_Model_Unreference().