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





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, _
   ByRef ElementNames As System.Array _
) As IAgDrResult

[C#]
public IAgDrResult ExecElements(
System.Object StartTime,
System.Object StopTime,
double StepTime,
ref 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,
Object[] ElementNames
);

[Unmanaged C++]
public: HRESULT ExecElements(
VARIANT StartTime,
VARIANT StopTime,
double StepTime,
SAFEARRAY ** ElementNames,
IAgDrResult ** ReturnValue
);

Parameters

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

Return Type

IAgDrResult.

Example

[Visual Basic .NET] Copy Code
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)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1