Ets_Pj_Scenario_Index_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the index in a specified project of a named scenario.
Syntax
Ets_Pj_Scenario_Index_Get (pj_hndl, scenario_name)
| Argument | Type | Description |
|---|---|---|
pj_hndl |
EtsT_Model_Handle |
Project of interest. |
scenario_name |
const char * |
Scenario of interest. |
Return Type
int
The scenario index, or -1 if the scenario could not be found.
Header
ets_api_pj.h
Details
Scenario indexes are zero-based.