Description | Example | Return Message | Group

UnloadMulti

Remove an object and all of its subobjects from the current scenario

Syntax

UnloadMulti <ApplicationPath> <ObjectPath>

Related Commands

Description

The UnloadMulti command removes a specified object and all of its subobjects from the current scenario in exactly the same way that the Unload command does except that the UnloadMulti command can accommodate multiple wildcards (*) in place of the instance names in the <ObjectPath>. When the wildcard is used, all matching instances are removed.

For more information on using wildcards, see Wildcards.

Example

To remove all facilities named Fac1 from the current scenario:

UnloadMulti / */Facility/Fac1

To remove all facilities whose name begins with Fac from the current scenario:

UnloadMulti / */Facility/Fac*

To remove all facilities from the current scenario:

UnloadMulti / */Facility/*

To unload all transmitters from all aircraft:

UnloadMulti / */Aircraft/*/Transmitter/*

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Attitude Coverage

Chains

Comm

CAT

Coverage

Facilities, Places & Targets

Radar

Scenarios

Sensors

Stars & Planets

Vehicles

Volumetric

Version

9.1

STK Programming Interface 11.0.1