STK ObjectsSend 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

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 _
)
[C#]
public void SetTimePeriod(
    System.Object startTime,
    System.Object stopTime
);
[Managed C++]
public: void SetTimePeriod(
    VARIANT startTime,
    VARIANT stopTime
);
[Unmanaged C++]
public: HRESULT SetTimePeriod(
    VARIANT startTime,
    VARIANT stopTime
);
[Java]
public void setTimePeriod(
    AgVariant startTime,
    AgVariant stopTime
);
[Python - STK API ]
def SetTimePeriod(self, startTime:typing.Any, stopTime:typing.Any) -> None:

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';


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.