Description | Example | Return Message | Group

New

Create a new scenario or add a new object to the current scenario

Syntax

New <ApplicationPath> <ClassPath> <NewObjectName> {NewOptions}

Related Commands

Description

Use the New Command to open a new scenario in STK or add a new object to the current scenario. <ClassPath> specifies the full class path of the object to be created. For instance, to add a ship to the current Scenario the <ClassPath> would be: */Ship.

The following table describes the {NewOptions}, any or all of which can be included on the command line.

{NewOptions} Description
NoDefault If specified, the object is created using hard coded defaults and does not load the object default file.
Ignore If specified, duplicates will be discarded without generating errors.
CentralBody <CBName> Create the new object on the specified Central Body.

Note: Using this option will set the default Central Body used for subsequent New commands.

Example

To open a new scenario named See_DC:

New / Scenario See_DC

To create a new satellite and name it ERS1:

New / */Satellite ERS1

To create a new sensor on the satellite ERS1:

New / */Satellite/ERS1/Sensor sens1

To create a new facility on Mars:

New / */Facility FacM1 CentralBody Mars

To create a new facility on Mars, not loading the default object file:

New / */Facility FacM2 CentralBody Mars NoDefault

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

Line Targets

MTO

Radar

Scenarios

Sensors

Stars & Planets

Vehicles

Volumetric

Version

8.1

STK Programming Interface 11.0.1