AGI STK Astrogator 11 Send comments on this topic.
IAgVAMCSSequence Interface





Description

Properties for a Sequence segment.

Object Model



Public Methods

Public Method ApplyScript Apply the script.

Public Properties

Public Property GenerateEphemeris If true, the sequence generates ephemeris and displays it in the 2D and 3D Graphics windows.
Public Property RepeatCount The number of times that the sequence will be executed. A sequence that is repeated is executed immediately subsequent to the previous execution of the sequence. Dimensionless.
Public Property ScriptingTool Returns the Scripting tool for the sequence.
Public Property Segments The list of segments defined for the sequence.
Public Property SequenceStateToPass State To Pass To Next Segment - the state of the sequence to pass.

Example

Configure sequence segment with scripting tool
[C#] Copy Code
// Add launch sequence and retrieve the 
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeSequence, "MySequence""-"); 
IAgVAMCSSequence sequence = segment as IAgVAMCSSequence; 
 
IAgVAScriptingTool scriptTool = sequence.ScriptingTool; 
scriptTool.Enable = true
scriptTool.LanguageType = AgEVALanguage.eVALanguageVBScript; 
scriptTool.ScriptText( 
@" 
DeltaArg = dArg