Scenario: Integer;
The Scenario property returns key of the script for the current calculation step.
The property use is given in the example for IMsCalculationState.CurrentPoint.
See also:
IMsCalculationState