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 12\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):
You can use TETK Connect commands in TETK scenarios for pre-flight planning, post-flight analysis, and to support analysis workflows.
You should not use TETK Connect commands when real-time propagators are creating STK vehicles and using STK features instantaneously. The use of Connect commands in a real-time application requires more computational power than STK can support.
TETK functionality that is commonly referred to as "real-time" is actually an offline analysis mode. In this mode, an STK/TETK scenario is prepared with data that is streamed to a particular time in a mission. The post-flight analysis can be prepared again on demand throughout the mission for the data for each time of request. You can use TETK Connect commands in these scenarios.
Version
11.5