STK ObjectsSend comments on this topic.
Exec Method (IAgDataPrvTimeVar)
See Also
StartTime
The start time.
StopTime
The stop time.
StepTime
The step value.
Windows





Windows & Linux

Description

Compute the data; time-dependent data providers require an interval and a time step. Start/Stop use DateFormat Dimension. StepTime uses Time Dimension.

Syntax

[Visual Basic .NET]
Public Function Exec( _
    ByVal StartTime As System.Object, _
    ByVal StopTime As System.Object, _
    ByVal StepTime As Double _
) As IAgDrResult
[C#]
public IAgDrResult Exec(
    System.Object StartTime,
    System.Object StopTime,
    double StepTime
);
[Managed C++]
public: IAgDrResult^ Exec(
    VARIANT StartTime,
    VARIANT StopTime,
    double StepTime
);
[Unmanaged C++]
public: HRESULT Exec(
    VARIANT StartTime,
    VARIANT StopTime,
    double StepTime,
    IAgDrResult ** ppIAgDrResult
);
[Java]
public IAgDrResult exec(
    AgVariant StartTime,
    AgVariant StopTime,
    double StepTime
);
[Python - STK API ]
def Exec(self, StartTime:typing.Any, StopTime:typing.Any, StepTime:float) -> "IAgDrResult":

Parameters

StartTime
The start time.
StopTime
The stop time.
StepTime
The step value.

Return Type

IAgDrResult.

See Also

Example

Execute a time dependent data provider and request all elements for the specified time interval
[C#]
IAgDataPrvTimeVar dpInfo = facility.DataProviders["Lighting AER"] as IAgDataPrvTimeVar;
IAgDrResult resInfo = dpInfo.Exec(
    "1 Jan 2012 12:00:00.000",
    "1 Jan 2012 12:00:20.000",
    60.0);
Execute a time dependent data provider and request all elements for the specified time interval
[Visual Basic .NET]
Dim dpInfo As IAgDataPrvTimeVar = TryCast(facility.DataProviders("Lighting AER"), IAgDataPrvTimeVar)
Dim resInfo As IAgDrResult = dpInfo.Exec("1 Jan 2012 12:00:00.000", "1 Jan 2012 12:00:20.000", 60)
© 2024 Analytical Graphics, Inc. All Rights Reserved.