Description
Interface used to access the Aviator interface for an aircraft. Use this interface to get the mission or Aviator catalog.
Public Methods
Public Properties
CoClasses that Implement IAgAvtrPropagator
Example
Configure the Aviator propagator
[C#] |
---|
// Set to Propagator to Aviator
aircraft.SetRouteType(AgEVePropagatorType.ePropagatorAviator);
// Get the aircraft's route
IAgVePropagatorAviator aircraftRoute = aircraft.Route as IAgVePropagatorAviator;
// Get the Aviator propagator
IAgAvtrPropagator propagator = aircraftRoute.AvtrPropagator as IAgAvtrPropagator;
// Get the Aviator mission
IAgAvtrMission mission = propagator.AvtrMission;
// Get the list of phases from the mission
IAgAvtrPhaseCollection phases = mission.Phases;
// Get the list of procedures from the first phase
IAgAvtrProcedureCollection procedures = phases[0].Procedures;
// Propagate the route
propagator.Propagate();
|
|
Configure the Aviator propagator
[Visual Basic .NET] |
---|
' Set to Propagator to Aviator
aircraft.SetRouteType(AgEVePropagatorType.ePropagatorAviator)
' Get the aircraft's route
Dim aircraftRoute As IAgVePropagatorAviator = TryCast(aircraft.Route, IAgVePropagatorAviator)
' Get the Aviator propagator
Dim propagator As IAgAvtrPropagator = TryCast(aircraftRoute.AvtrPropagator, IAgAvtrPropagator)
' Get the Aviator mission
Dim mission As IAgAvtrMission = propagator.AvtrMission
' Get the list of phases from the mission
Dim phases As IAgAvtrPhaseCollection = mission.Phases
' Get the list of procedures from the first phase
Dim procedures As IAgAvtrProcedureCollection = phases(0).Procedures
' Propagate the route
propagator.Propagate()
|
|
Configure the Aviator propagator
[Python - STK API] |
---|
# IAgAircraft aircraft: Aircraft object
# Set to Propagator to Aviator
aircraft.SetRouteType(AgEVePropagatorType.ePropagatorAviator)
# Get the aircraft's route
aircraftRoute = aircraft.Route
# Get the Aviator propagator
propagator = aircraftRoute.AvtrPropagator
# Get the Aviator mission
mission = propagator.AvtrMission
# Get the list of phases from the mission
phases = mission.Phases
# Get the list of procedures from the first phase
procedures = phases[0].Procedures
# Propagate the route
propagator.Propagate()
|
|
Configure the Aviator propagator
[MATLAB] |
---|
% IAgAircraft aircraft: Aircraft object
% Set to Propagator to Aviator
aircraft.SetRouteType('ePropagatorAviator');
% Get the aircraft's route
aircraftRoute = aircraft.Route;
% Get the Aviator propagator
propagator = aircraftRoute.AvtrPropagator;
% Get the Aviator mission
mission = propagator.AvtrMission;
% Get the list of phases from the mission
phases = mission.Phases;
% Get the list of procedures from the first phase
procedures = phases.Item(0).Procedures;
% Propagate the route
propagator.Propagate();
|
|