Unload all subobjects of a scenario or object
SubObjUnload <ObjectPath>
The SubObjUnload command allows you to remove all subobjects of the current scenario or all subobjects of a facility, place, target, vehicle or planet (but NOT a star) within a scenario.
If <ObjectPath> specifies a Scenario then all objects in the scenario would be removed. If <ObjectPath> specifies a facility, place, target, vehicle or planet, all subobjects would be removed from that object.
To remove all objects from the current scenario so that only the scenario is left:
SubObjUnload *
To remove all subobjects from the Satellite TSat1:
SubObjUnload */Satellite/TSat1
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
4.0
STK Programming Interface 11.0.1