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





Windows & Linux

Description

Returns an IAgStkAccess object associated with the two STK objects specified using their paths. The paths can be fully-qualified or truncated. See remarks section 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 first object (“A”) to second object (“B”) exists, returns the existing IAgStkAccess object for that access.
If the access from A to B does not exist, there are two cases:
  1. If the access from B to A exists and (1) is not already computed or (2) is computed and has light time delay <= 1.0 sec, returns existing IAgStkAccess object for B to A.
  2. Otherwise, returns a new IAgStkAccess object for A to B that has not yet been computed.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.