Ets_Nt_Model_Object_Palette_Get()
Note: Requires OPNET Development Kit
Abstract
Retrieves the name of the object palette in the custom model list that is associated with a network.
Syntax
Ets_Nt_Model_Object_Palette_Get (mdl_hndl, cml_name)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Model of interest. |
cml_name |
char * |
Variable to hold the custom model name. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success; otherwise, EtsC_Compcode_Failure.
Header
ets_api_nt.h
Details
This function retrieves the name of the object palette in the custom model list that is associated with the network. The model must be a network model. If the network model has a specific custom model list associated with it, its name is placed in the cml_name buffer. Otherwise, the buffer is cleared and this function returns Failure.