Description | Example | Return message | Group

NewMulti

Create multiple instances of new objects

Syntax

NewMulti <ApplicationPath> <ClassPathOfObjectToCreate> <NumToCreate> <NewName1> [<NewName2>...] [NoDefault] [Ignore]

Related commands

Description

The NewMulti command allows you to create multiple instances of new objects of an input class type. If the optional [NoDefault] parameter is specified, the object is created using hard coded defaults and does not load the object default file. Duplicate instance names result in a NACK unless the optional [Ignore] parameter is specified. When [Ignore] is specified, duplicates will be discarded without generating errors.

Examples

To create three facilities named Fac1, Fac2 and Fac3 based on the default settings for the facilities in the current scenario:

NewMulti / */Facility 3 Fac1 Fac2 Fac3

Return 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

4.2