AGI STK Objects 11Send comments on this topic.
SetTimePeriod Method (IAgScenario)
See Also
startTime
The start time of the scenario period.
stopTime
The stop time of the scenario period.
Windows






Windows & Linux

Description

Method to set the Scenario time period. startTime/stopTime use DateFormat Dimension.

Syntax

[Visual Basic .NET]
Public Sub SetTimePeriod( _
    ByVal startTime As System.Object, _
    ByVal stopTime As System.Object _
) As 
[C#]
public void SetTimePeriod(
    System.Object startTime,
    System.Object stopTime
);
[Managed C++]
public: void SetTimePeriod(
    VARIANT startTime,
    VARIANT stopTime
);
[Java]
public void setTimePeriod(
    VARIANT startTime,
    VARIANT stopTime
);
[Unmanaged C++]
public: HRESULT SetTimePeriod(
    VARIANT startTime,
    VARIANT stopTime
);

Parameters

startTime
The start time of the scenario period.
stopTime
The stop time of the scenario period.

See Also

Example

Change scenario time period
[MATLAB]
% IAgStkObjectRoot root: STK Object Model Root
root.CurrentScenario.SetTimePeriod('30 Jul 2014 16:00:05.000', '31 Jul 2014 16:00:00.000');
root.CurrentScenario.Epoch = '30 Jul 2014 16:00:05.000';

© 2019 Analytical Graphics, Inc. All Rights Reserved.