STK ObjectsSend comments on this topic.
GetAccessBetweenObjectsByPath Method (IAgScenario)
See Also
ObjectPath1
ObjectPath2
Windows





Windows & Linux

Description

Returns the access object currently associated with the two STK objects specified using their paths. The paths can be fully-qualified or truncated. See remarks section in help for more info.

Syntax

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

Parameters

ObjectPath1
ObjectPath2

Remarks

If the access from B to A already exists when requesting A to B, B to A will be returned unless it is already computed and the light time delay is > 1.0 sec.

See Also

© 2023 Analytical Graphics, Inc. All Rights Reserved.