Ets_Nt_Model_Object_Palette_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the name of the object palette in the custom model list that is associated with the network.
Syntax
Ets_Nt_Model_Object_Palette_Set (mdl_hndl, cml_name)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Model of interest. |
cml_name |
const char * |
Text to set as the custom model name. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success; otherwise, EtsC_Compcode_Failure.
Header
ets_api_nt.h
Details
This function sets 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 cml_name argument is empty or is equal to the network model name, the object palette opens with the private custom model list file. Otherwise, the object palette opens with the specified custom model list.