Description
Interface used to access the user runways in the Aviator catalog.
Public Methods
Interfaces
CoClasses that Implement IAgAvtrUserRunwaySource
Example
Configure a runway site from a runway in the Aviator catalog
[C#] |
---|
// Get the source of user runways
IAgAvtrUserRunwaySource userRunways = catalog.RunwayCategory.UserRunways;
// Check that the runway exists in the catalog
if (userRunways.GetAsCatalogSource().Contains("New User Runway"))
{
// If so, get the user runway with the given name
IAgAvtrUserRunway runwayFromCatalog = userRunways.GetUserRunway("New User Runway");
// Copy the parameters of that runway
runway.CopyFromCatalog(runwayFromCatalog as IAgAvtrCatalogRunway);
}
|
|
Configure a runway site from a runway in the Aviator catalog
[Visual Basic .NET] |
---|
' Get the source of user runways
Dim userRunways As IAgAvtrUserRunwaySource = catalog.RunwayCategory.UserRunways
' Check that the runway exists in the catalog
If userRunways.GetAsCatalogSource().Contains("New User Runway") Then
' If so, get the user runway with the given name
Dim runwayFromCatalog As IAgAvtrUserRunway = userRunways.GetUserRunway("New User Runway")
' Copy the parameters of that runway
runway.CopyFromCatalog(TryCast(runwayFromCatalog, IAgAvtrCatalogRunway))
End If
|
|
Configure a runway site from a runway in the Aviator catalog
[Python - STK API] |
---|
# IAgAvtrSiteRunway runway: Runway object
# IAgAvtrCatalog catalog: Aviator catalog object
# Get the source of user runways
userRunways = catalog.RunwayCategory.UserRunways
# Check that the runway exists in the catalog
if userRunways.Contains('New User Runway') is True:
# If so, get the user runway with the given name
runwayFromCatalog = userRunways.GetUserRunway('New User Runway')
# Copy the parameters of that runway
runway.CopyFromCatalog(runwayFromCatalog)
|
|
Configure a runway site from a runway in the Aviator catalog
[MATLAB] |
---|
% IAgAvtrSiteRunway runway: Runway object
% IAgAvtrCatalog catalog: Aviator catalog object
% Get the source of user runways
userRunways = catalog.RunwayCategory.UserRunways;
% Check that the runway exists in the catalog
if (userRunways.Contains('New User Runway'))
% If so, get the user runway with the given name
runwayFromCatalog = userRunways.GetUserRunway('New User Runway');
% Copy the parameters of that runway
runway.CopyFromCatalog(runwayFromCatalog);
end
|
|