A Sequence is a structural element that can be used to organize segments and define the nature of the results that are passed on to the next segment or sequence in the Mission Control Sequence (MCS).
Astrogator <Satellite Object Path> SetValue <Attribute Path>.Sequence.SegmentList <List of MCS Segments>
Astrogator <Satellite Object Path> SetValue <Attribute Path>.Backward_Sequence.SegmentList <List of MCS Segments>
Astrogator <Satellite Object Path> SetValue <Attribute Path>.Sequence.ScriptingTool.<Attribute> <Value>
Astrogator <Satellite Object Path> SetValue <Attribute Path>.Backward_Sequence.ScriptingTool.<Attribute> <Value>
A sequence is comprised of a number of segments, each of which is propagated forward in order within the sequence.
Use SetValue to define a sequence or backward sequence segment to be embedded in the MCS.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.SegmentList Propagate Hold
Set Enabled to true to use the Scripting Tool.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Enabled true
Add an Attribute component in the list for each object property needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Attributes Attribute Attribute
Enter the object that the attribute component will be associated with.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Attributes.Attribute.Object Propagate
Enter the specific attribute of the object that the attribute component uses.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Attributes.Attribute.Attribute StoppingConditions.Duration.TripValue
Enter the unit in which the object property will be used in the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Attributes.Attribute.Unit min
Set ReadOnlyProperty to true to select from read-only attributes or false to select from editable attributes.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Attributes.Attribute.ReadOnlyProperty true
Enter a Calc Object component for each calculation object needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.CalcObjects CalcObject CalcObject
Enter the name of the calculation object the component should use.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.CalcObjects.CalcObject.CalcObject Altitude
To set a property of the calc object, add that property to the attribute path (this example sets the altitude calc object to be lunar altitude).
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.CalcObjects.CalcObject.CalcObject.CentralBody Moon
Enter the unit in which the calculation object will be used in the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.CalcObjects.CalcObject.Unit m
Enter a Parameter component for each parameter needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters Parameter Parameter
Enter the value of the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.ParamValue 20
Enter "Boolean", "Date", "Double", "Enumeration", "Integer", "Quantity", or "String".
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.ParamType Enumeration
Enter a unit.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.Unit m/sec
Enter a unit dimension.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.UnitDimension Rate
Enter a user comment.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.UserComment This parameter is my favorite
Set UseMinValue to true to give the parameter a minimum value.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.UseMinValue true
If UseMinValue is true, define a minimum value for the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.MinValue 0
Set UseMaxValue to true to give the parameter a maximum value.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.UseMaxValue true
If UseMaxValue is true, define a maximum value for the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Parameters.Parameter.MaxValue 10
Enter the desired scripting language.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Language JScript
or
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Language VBScript
or
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.Language MATLAB
Enter the text of the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Sequence.ScriptingTool.ScriptStatements "Attribute = 2 * Parameter"
STK Programming Interface 11.0.1