Ets_Pj_Scenario_Current_Index_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the index of the current scenario of a project model.
Syntax
Ets_Pj_Scenario_Current_Index_Get (model_hndl)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
Handle to the project of interest. |
Return Type
int
The index of the current scenario, or -1 if the index cannot be obtained (for example, if model_hndl is invalid).
Header
ets_api_pj.h