Ets_Pj_Scenario_Destroy()
Note: Requires OPNET Development Kit
Abstract
Destroys a single scenario in a project.
Syntax
Ets_Pj_Scenario_Name_Set (model_hndl, scenario_index)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
Handle to the project of interest. |
scenario_index |
int |
Index of the scenario to destroy. |
Return Type
EtsT_CompCode
EtsC_Compcode_Success if the scenario is destroyed successfully; EtsC_Compcode_Failure otherwise.
Header
ets_api_pj.h
Details
This function deletes a given scenario, although the network model remains. You can not destroy a scenario if it is the only one in the project.