STK Vector Geometry ToolSend comments on this topic.
GetProvider Method (IAgCrdnRoot)
See Also
InstPath
Specify a short path to an STK object or to a central body. Examples of a valid path are \"CentralBody/Earth\" or \"Satellite/Satellite1\".
Windows





Windows & Linux

Description

Returns an instance provider. The method takes a short instance path to an STK object or a central body.(i.e. \"Satellite/Satellite1\", \"CentralBody/Earth\", etc.)

Syntax

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

Parameters

InstPath
Specify a short path to an STK object or to a central body. Examples of a valid path are \"CentralBody/Earth\" or \"Satellite/Satellite1\".

See Also

Example

Get a Vector Geometry Tool provider
[C#]
//Returns a provider associated with the specified
// instance of an STK Object or a Central Body.
IAgCrdnProvider provider = root.GetProvider(path);
Get a Vector Geometry Tool provider
[Visual Basic .NET]
'Returns a provider associated with the specified
' instance of an STK Object or a Central Body.
Dim provider As IAgCrdnProvider = root.GetProvider(path)
© 2024 Analytical Graphics, Inc. All Rights Reserved.