Description | Example | Return Message | Group

SetGreatArcStart

Set the start time for an aircraft, ground vehicle or ship

Syntax

SetGreatArcStart <ObjectPath> {TimeValue}

Description

The SetGreatArcStart command sets the start time for the specified ship, aircraft or ground vehicle. The rest of the path is regenerated to reflect the new {TimeValue}.

For valid {TimeValue} values see Time Options.

Note: The SetGreatArcStart command is for moving a GreatArc trajectory in time to a new start time (while keeping all the waypoints at the same relative times as before). This command is not valid if the AddWaypoint {AddMethod} is DetVelFromTime. This command will NACK if the vehicle has no waypoints.

Example

To set the start time of the Cruise ship:

SetGreatArcStart */Ship/Cruise "01 Jan 2000 08:00:00.00"

To set the start time of AirFr to the scenario analysis time period start:

SetGreatArcStart */Aircraft/AirFr UseAnalysisStartTime

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Vehicles

Version

10

STK Programming Interface 11.0.1