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.
Examples
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/*
Return message
Group membership
This command belongs to the following group(s):
Version
9.1