Astrogator DeleteSegment is a command that removes a segment from the MCS or a subsequence.
Astrogator <Satellite Object Path> DeleteSegment <Attribute Path>
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:
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
STK Programming Interface 11.0.1