Description | Example | Return Message | Group

SetEpoch

Set the scenario epoch

Syntax

SetEpoch <ScenarioPath> {"<EpochTime>" | UseAnalysisStartTime}

Related Commands

Description

The SetEpoch command allows you to reset the scenario's epoch. Once you change the epoch of the scenario, relative Start Times (in epoch seconds) are adjusted accordingly for all previously defined objects.

Enter UseAnalysisStartTime to set the epoch time to the analysis start time. If UseAnalysisStartTime is entered then the epoch time will track any analysis start time changes.

For valid "<EpochTime>" values see Time Options.

Example

To set the epoch of the current scenario to 12 p.m. on November 1, 2000:

SetEpoch * "1 Nov 2000 12:00:00.00"

To set the epoch of the current scenario to be the same as the analysis start time:

SetEpoch * UseAnalysisStartTime

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Scenarios

Version

9.0

STK Programming Interface 11.0.1