Description | Example | Return message | Group

TE_SegmentDefinition

Create a time segment definition.

Syntax

TE_SegmentDefinition <ScenarioPath> {Add | Import} <Parameters>

Related commands

Description

The T&E Tool Kit 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. This keyword accepts a time string value, as well as an STK Time Instant name (e.g: Aircraft/Aircraft1 MissionProcedureIntervals.HoldingCircle.Start).
StopTime "<StopTime>"The start time of the segment entered in Connect date units. This keyword accepts a time string value, as well as an STK Time Instant name (e.g: Aircraft/Aircraft1 MissionProcedureIntervals.HoldingCircle.Start).
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:
  • Name ("blue")
  • RGB ("%000000255")
  • Value ("-16254")

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.

Examples

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"

Examples

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"

Return message

Group membership

This command belongs to the following group(s):

T & E Toolkit

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