Remove an object and all of its subobjects from the current scenario
UnloadMulti <ApplicationPath> <ObjectPath>
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.
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/*
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
9.1
STK Programming Interface 11.0.1