TE_SegmentDefinition
Create a time segment definition.
Syntax
TE_SegmentDefinition <ScenarioPath> {Add | Import} <Parameters>
Related Commands
Description
The T&E Toolkit Plugin must be installed in order to use this command.
The TE_SegmentDefinition command allows you to add or import a time segment definition for the specified ownship and subsystem.
The following table describes the parameters for the Add option.
<Parameters> | Description |
---|---|
Name "<SegmentName>" | The name of the segment |
StartTime "<StartTime>" | The start time of the segment entered in Connect date units. |
StopTime "<StopTime>" | The stop time of the segment entered in Connect date units. |
Ownship "<Ownship>" | The name of the ownship that you are adding segments to. |
SubSystem "<SubSystem>" | The ownship's subsystem that you are adding segments to. |
ShowOnTimeline "{On | Off}" | Optional. Indicate whether FlightSegments are set to display in the Timeline View. |
Assets "<CommaSepAssets>" | Optional. A comma separated list of target objects that will be listed as assets. |
Color "<Color>" | Optional. The color representation of the time segment. This can be specified in three different ways:
|
The following table describes the parameters for the Import option.
<Parameters> | Description |
---|---|
Name "<SegmentName>" | The name of the segment.
If a file contains multiple flight segments they will be named using the convention of <Name Parameter>_Run1, <Name Parameter>_Run2, etc |
File "<FilePath>" | The path to a T&E run time file. |
Ownship "<Ownship>" | The name of the ownship that you are adding segments to. |
SubSystem "<SubSystem>" | The ownship's subsystem that you are adding segments to. |
ShowOnTimeline "{On | Off}" | Optional. Indicate whether time segments are to display in the Timeline View. The default is Off |
Assets "<CommaSepAssets>" | Optional. A comma separated list of target objects that will be listed as assets. |
Example
TE_SegmentDefinition * Add Name "MyRun" StartTime "2012-302T14:35:06.500" StopTime "2012-302T14:45:06.500" Ownship "My_Ctdf_Aircraft" Subsystem "FlightSegment" ShowOnTimeline "On" Assets "*/Aircraft/Drone"
Example
TE_SegmentDefinition * Import File "C:\Program Files\AGI\STK 11\Help\TeTraining\Training files\Radar runs.txt" Ownship "Ownship1" Subsystem "RADAR" Name "RadarRuns" ShowOnTimeline "On" Assets "*/Aircraft/Target1_TSPI,*/Aircraft/Target2_TSPI"
ReturnMessage
Group Membership
This command belongs to the following group(s):
Version
11.5