Description
Interface used to access the collection of phases for a mission.
Public Methods
Public Properties
Count | Returns the number of elements in a collection. |
Item | Given an index, returns an element in the collection. |
CoClasses that Implement IAgAvtrPhaseCollection
Example
Add a new phase and use the same performance models as the first phase
[C#] |
---|
// Add a new phase at the end of the mission
IAgAvtrPhase newPhase = phases.Add();
// Rename the phase
newPhase.Name = "New Phase";
// Copy the performance models from the first phase and paste it to the new phase
phases[0].CopyPerformanceModels();
newPhase.PastePerformanceModels();
|
|
Add a new phase and use the same performance models as the first phase
[Visual Basic .NET] |
---|
' Add a new phase at the end of the mission
Dim newPhase As IAgAvtrPhase = phases.Add()
' Rename the phase
newPhase.Name = "New Phase"
' Copy the performance models from the first phase and paste it to the new phase
phases(0).CopyPerformanceModels()
newPhase.PastePerformanceModels()
|
|
Add a new phase and use the same performance models as the first phase
[Python - STK API] |
---|
# IAgAvtrPhases phases: Phase Collection object
# Add a new phase at the end of the mission
newPhase = phases.Add()
# Rename the phase
newPhase.Name = 'New Phase'
# Copy the performance models from the first phase and paste it to the new phase
phases[0].CopyPerformanceModels()
newPhase.PastePerformanceModels()
|
|
Add a new phase and use the same performance models as the first phase
[MATLAB] |
---|
% IAgAvtrPhases phases: Phase Collection object
% Add a new phase at the end of the mission
newPhase = phases.Add();
% Rename the phase
newPhase.Name = 'New Phase';
% Copy the performance models from the first phase and paste it to the new phase
phases.Item(0).CopyPerformanceModels();
newPhase.PastePerformanceModels();
|
|