Copy and paste an object.
Copy <ApplicationPath> <CopyFromObjectPath> [{CopyOption}]
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.
{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. |
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
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
8.0
STK Programming Interface 11.0.1