STK ObjectsSend comments on this topic.
GetDataPrvTimeVarFromPath Method (IAgDataProviderCollection)
See Also
DataProviderPath
Windows





Windows & Linux

Description

returns the time variable data provider specified by the data provider path.

Syntax

[Visual Basic .NET]
Public Function GetDataPrvTimeVarFromPath( _
    ByVal DataProviderPath As String _
) As IAgDataPrvTimeVar
[C#]
public IAgDataPrvTimeVar GetDataPrvTimeVarFromPath(
    string DataProviderPath
);
[Managed C++]
public: IAgDataPrvTimeVar^ GetDataPrvTimeVarFromPath(
    String __gc ^ DataProviderPath
);
[Unmanaged C++]
public: HRESULT GetDataPrvTimeVarFromPath(
    BSTR DataProviderPath,
    IAgDataPrvTimeVar ** ppRetVal
);
[Java]
public IAgDataPrvTimeVar getDataPrvTimeVarFromPath(
    String DataProviderPath
);
[Python - STK API ]
def GetDataPrvTimeVarFromPath(self, DataProviderPath:str) -> "IAgDataPrvTimeVar":

Parameters

DataProviderPath

See Also

Example

Coarse grain approach to retrieving a time var data provider
[C#]
IAgDataPrvTimeVar dp = facility.DataProviders.GetDataPrvTimeVarFromPath("Lighting AER");
IAgDrResult result = dp.Exec(
    "1 Jan 2012 12:00:00.000",
    "1 Jan 2012 12:00:20.000",
    60.0);
Coarse grain approach to retrieving a time var data provider
[Visual Basic .NET]
Dim dp As IAgDataPrvTimeVar = facility.DataProviders.GetDataPrvTimeVarFromPath("Lighting AER")
Dim result As IAgDrResult = dp.Exec("1 Jan 2012 12:00:00.000", "1 Jan 2012 12:00:20.000", 60)
© 2024 Analytical Graphics, Inc. All Rights Reserved.