AGI STK Objects 11 Send comments on this topic.
GetAccess Method (IAgStkObject)
See Also  Example
ObjectPath
The Object path to compute access to.





Description

Returns an IAgStkAccess object.

Syntax

[Visual Basic .NET]
Public Function GetAccess( _
   ByVal ObjectPath As String _
) As IAgStkAccess

[C#]
public IAgStkAccess GetAccess(
string ObjectPath
);

[Managed C++]
public: IAgStkAccess^ GetAccess(
String __gc ^ ObjectPath
);

[Java]
public IAgStkAccess getAccess(
String ObjectPath
);

[Unmanaged C++]
public: HRESULT GetAccess(
BSTR ObjectPath,
IAgStkAccess ** ReturnValue
);

Parameters

ObjectPath
The Object path to compute access to.

Example

Compute an access between two STK Objects (using object path)
[C#] Copy Code
// Get access by object path 
IAgStkAccess access = stkObject.GetAccess("Facility/fac1"); 
 
// Compute access 
access.ComputeAccess(); 
 

Compute an access between two STK Objects (using object path)
[Visual Basic .NET] Copy Code
' Get access by object path
Dim access As IAgStkAccess = stkObject.GetAccess("Facility/fac1")

' Compute access
access.ComputeAccess()

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1