This attribute defines the complete list of "before" conditions each time the command is executed; any previously defined "before" conditions will be wiped out by a new execution of this command.
Astrogator <Satellite Object Path> SetValue <Attribute Path>.BeforeConditions {List of Before Conditions}
Select the "before" stopping conditions used in defining an MCS segment. You can have one or as many before conditions as necessary. However, ones other than the default stopping conditions must be defined with the UserSelect.CalcObject attribute sequence. Default stopping conditions are:
Note: When using a stopping condition name that consists of two or more words in the Astrogator user interface, the spaces in the name must be replaced with underscores in the Connect command, or the entire name must be enclosed in quotes (see the examples below).
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.BeforeConditions Apoapsis
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.BeforeConditions.Apoapsis.RepeatCount 2
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.BeforeConditions Apoapsis
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.BeforeConditions.Apoapsis.RepeatCount 2
STK Programming Interface 11.0.1