Description | Example | Return message | Group

Copy

Copy and paste an object.

Syntax

Copy <ApplicationPath> <CopyFromObjectPath> [{CopyOption}]

Description

The Copy command allows you to copy an existing object and paste the copy into STK. The copied object will be pasted as a sibling of the <CopyFromObjectPath>, with an STK defined unique name. All children of the <CopyFromObjectPath> will also be copied. The {CopyOption} allows you to specify how the object is pasted.

The Group can be ignored when using the Copy command.

{CopyOption}Description
Name <NewName>Specify a name for the pasted object.
Path <NewObjectPath>Specify the path of the pasted object. The path must be a full valid path for the object being pasted. The parent of the pasted object must already exist.

Examples

To make a copy of Satellite1 and paste it into the Scenario with a unique name:

Copy / */Satellite/Satellite1

To make a copy of Satellite1 and paste into the Scenario as MySat1:

Copy / */Satellite/Satellite1 Name MySat1

To make a copy of Sensor1 and paste it onto Satellite2 as DownSn:

Copy / */Satellite/Satellite1/Sensor/Sensor1 Path */Satellite/Satellite2/Sensor/DownSn

Return message

Group membership

This command belongs to the following group(s):

Application Options

Area Targets

Attitude Coverage

Chains

Comm

CAT

Coverage

Facilities, Places & Targets

Line Targets

MTO

Radar

Sensors

Stars & Planets

Vehicles

Volumetric

Version

8.0