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 users 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.

Example

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

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

4.2

STK Programming Interface 11.0.1