Create multiple instances of new objects
NewMulti <ApplicationPath> <ClassPathOfObjectToCreate> <NumToCreate> <NewName1> [<NewName2>...] [NoDefault] [Ignore]
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.
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
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
4.2
STK Programming Interface 11.0.1