Astrogator DeleteSegment

Astrogator DeleteSegment is a command that removes a segment from the MCS or a subsequence.

Syntax

Astrogator <Satellite Object Path> DeleteSegment <Attribute Path>

Description

There are no attributes or values for this command. Specify the attribute path to the segment that you want to delete. The following additional rules govern the use of this command:

  1. This command cannot be used to delete segments within automatic sequences.
  2. The segment that you want to delete should not be connected to the rest of the attribute path by a period.
  3. To delete a segment that is in the MCS and not nested in a subsequence, you do not have to include the path; simply name the segment that you want to delete.

Examples

To delete the "Propagate2" segment, located after the "Maneuver1" segment in the MCS:

Astrogator */Satellite/Satellite1 DeleteSegment MainSequence.SegmentList Propagate2

or simply Astrogator */Satellite/Satellite1 DeleteSegment Propagate2

To delete the "Propagate" segment within "Target_Sequence":

Astrogator */Satellite/Satellite1 DeleteSegment MainSequence.SegmentList.Target_Sequence.SegmentList Propagate