Ets_Pj_Scenario_Name_Set()
Note: Requires OPNET Development Kit
Abstract
Renames a specified scenario.
Syntax
Ets_Pj_Scenario_Name_Set (model_hndl, scenario_index, name_buf)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
Handle to the project, which might contain many scenarios. |
scenario_index |
int |
Index of the scenario whose name will be changed (zero-based). |
name_buf |
char * |
Name to set as the scenario name. |
Return Type
EtsT_CompCode
EtsC_Compcode_Success if the scenario was renamed; EtsC_Compcode_Failure otherwise.
Header
ets_api_pj.h
Details
None.