Ets_Pj_Scenario_Name_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the name of the specified scenario of a project.
Syntax
Ets_Pj_Scenario_Name_Get (model_hndl, scenario_index, name_buf_ptr)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
Handle to the project of interest. |
scenario_index |
int |
Index of the scenario of interest. |
name_buf_ptr |
char * |
Pointer to an area to be filled with the scenario name. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the scenario name can be obtained; EtsC_Compcode_Failure otherwise.
Header
ets_api_pj.h