AGI STK Objects 11Send comments on this topic.
ExecElements Method (IAgDataPrvTimeVar)
See Also
StartTime
The start time.
StopTime
The stop time.
StepTime
The step value.
ElementNames
An array of element names.
Windows






Windows & Linux

Description

Compute the data and return just the indicated data elements; time-dependent data providers require an interval and a time step.

Syntax

[Visual Basic .NET]
Public Function ExecElements( _
    ByVal StartTime As System.Object, _
    ByVal StopTime As System.Object, _
    ByVal StepTime As Double, _
    ByVal ElementNames As System.Array _
) As 
[C#]
public IAgDrResult ExecElements(
    System.Object StartTime,
    System.Object StopTime,
    double StepTime,
    System.Array ElementNames
);
[Managed C++]
public: IAgDrResult^ ExecElements(
    VARIANT StartTime,
    VARIANT StopTime,
    double StepTime,
    System::Array ^ ElementNames
);
[Java]
public IAgDrResult execElements(
    VARIANT StartTime,
    VARIANT StopTime,
    double StepTime,
    VariantArray ElementNames
);
[Unmanaged C++]
public: HRESULT ExecElements(
    VARIANT StartTime,
    VARIANT StopTime,
    double StepTime,
    SAFEARRAY * * ElementNames,
    IAgDrResult ** ppIAgDrResult
);

Parameters

StartTime
The start time.
StopTime
The stop time.
StepTime
The step value.
ElementNames
An array of element names.

Return Type

IAgDrResult.

See Also

Example

[Visual Basic .NET]
Dim ElemNames() As String = {"Time", "y"}
ADR = app.Children("Scenario1").Children("Satellite1").DataProviders("Cartesian Position").Group("Fixed").ExecElements( _
"1 Jun 2004 12:00:00.00", _
"1 Jun 2004 13:00:00.00", _
240.0, _
ElemNames)
© 2019 Analytical Graphics, Inc. All Rights Reserved.