{Before Conditions}

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.

Syntax

Astrogator <Satellite Object Path> SetValue <Attribute Path>.BeforeConditions {List of Before Conditions}

Description

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).

Examples

Specifying Before Conditions - For Propagate Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.BeforeConditions Apoapsis

Setting the Value for a given Before Condition - For Propagate Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Propagate.StoppingConditions.Duration.BeforeConditions.Apoapsis.RepeatCount 2

Specifying Before Conditions - For Maneuver (Finite) Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.BeforeConditions Apoapsis

Setting the Value for a given Before Condition - For Maneuver (Finite) Segment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Maneuver.FiniteMnvr.StoppingConditions.Duration.BeforeConditions.Apoapsis.RepeatCount 2

STK Programming Interface 11.0.1