Description | Example | Return Message | Group

SubObjUnload

Unload all subobjects of a scenario or object

Syntax

SubObjUnload <ObjectPath>

Description

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.

Example

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

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Attitude Coverage

Coverage

Facilities, Places & Targets

Scenarios

Stars & Planets

Vehicles

Version

4.0

STK Programming Interface 11.0.1