STK ObjectsSend comments on this topic.
ExecSingleElements Method (IAgDataPrvTimeVar)
See Also
SingleTime
The specific time value.
ElementNames
An array of element names.
Windows





Windows & Linux

Description

Computes the data given a single Time and return just the indicated data elements. SingleTime uses DateFormat Dimension.

Syntax

[Visual Basic .NET]
Public Function ExecSingleElements( _
    ByVal SingleTime As System.Object, _
    ByVal ElementNames As System.Array _
) As IAgDrResult
[C#]
public IAgDrResult ExecSingleElements(
    System.Object SingleTime,
    System.Array ElementNames
);
[Managed C++]
public: IAgDrResult^ ExecSingleElements(
    VARIANT SingleTime,
    System::Array ^ ElementNames
);
[Unmanaged C++]
public: HRESULT ExecSingleElements(
    VARIANT SingleTime,
    SAFEARRAY * * ElementNames,
    IAgDrResult ** ppIAgDrResult
);
[Java]
public IAgDrResult execSingleElements(
    AgVariant SingleTime,
    AgSafeArray ElementNames
);
[Python - STK API ]
def ExecSingleElements(self, SingleTime:typing.Any, ElementNames:list) -> "IAgDrResult":

Parameters

SingleTime
The specific time value.
ElementNames
An array of element names.

Return Type

IAgDrResult.

See Also

Example

Execute a time dependent data provider and returning the specified elements for a single time
[C#]
Array elems = new object[]
              {
                  "Time",
                  "Precision Pass Number"
              };

IAgDataPrvTimeVar dp = satellite.DataProviders["Precision Passes"] as IAgDataPrvTimeVar;

// ExecSingleElements expects as the second parameter a one dimensional array of element names
IAgDrResult resInfo = dp.ExecSingleElements("1 Jan 2012 12:00:00.000", ref elems);
Execute a time dependent data provider and returning the specified elements for a single time
[Visual Basic .NET]
Dim elems As Array = New Object() {"Time", "Precision Pass Number"}

Dim dp As IAgDataPrvTimeVar = TryCast(satellite.DataProviders("Precision Passes"), IAgDataPrvTimeVar)

' ExecSingleElements expects as the second parameter a one dimensional array of element names
Dim resInfo As IAgDrResult = dp.ExecSingleElements("1 Jan 2012 12:00:00.000", elems)
© 2024 Analytical Graphics, Inc. All Rights Reserved.