Description | Example | Return message | Group

Graphics CustomIntervals (Vehicles)

Control the display of different graphics attributes at specific time intervals during animation

Syntax

Graphics <ObjectPath> CustomIntervals {Action} [<Parameters>]

Description

The Graphics CustomIntervals command allows you to control graphics during selected intervals of time.

Before changes made using this command will take effect, you must issue the Graphics SetAttrType (Vehicles) command.

Valid values for {Action} and <Parameters> can be:

{Action}<Parameters>Description
ClearN/ARemoves all display intervals from the custom interval list.
Add<NumIntervalPairs> "<StartTime1>" "<StopTime1>" ["<StartTime2>" "<StopTime2>"...] [{AttributeOption} {Action}]Adds an interval to the list of display times so that if Graphics SetAttrIntervals is set to CustomIntervals, object graphics only appear during the intervals set using this command. The number of "<StartTime>" and "<StopTime>" value pairs to be entered depends upon the <NumIntervalPairs> specified.
Replace<NumIntervalPairs> "<StartTime1>" "<StopTime1>" ["<StartTime2>" "<StopTime2>"...] [{AttributeOption} {Action}]Replaces the current interval list with the one specified using this command. The number of "<StartTime>" and "<StopTime>" value pairs to be entered depends upon the <NumIntervalPairs> specified.
Edit[{EditAction} | "<StartTime>" "<StopTime>"] {AttributesOption} {Action}{EditAction} can be All, Default or AllIntervals. If you don't specify an {EditAction}, you must specify a "<StartTime>" and "<StopTime>".

If {EditAction} is All, all intervals, including the default interval, will be modified. If {EditAction} is AllIntervals, all intervals except the default interval will be modified. If {EditAction} is Default, the baseline graphics attributes will be modified.

For all options, you must specify at least one {AttributeOption} {Action} pair.

Remove"<StartTime>" "<StopTime>"The interval matching the "<StartTime>" and "<StopTime>" will be removed.
Load"<FilePath.int>"Loads a file that specifies interval pairs and uses those pairs as the custom intervals. The file must be in the STK interval list file format and end with a .int extension.

"<FilePath.int>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.

Import"<TimeComponent>"Adds the intervals specified in the Interval or Interval List "<TimeComponent>" as custom intervals.

For information about "<TimeComponent>" see Component Specification.

DeconflictN/AResolve any conflicting intervals by checking for overlaps. If an overlap occurs set the previous interval's stop time to the current interval's start time. Using this method, only stop times are changed.

Refer to the Graphics Basic (Vehicles) command for a list of valid {AttributeOption} {Action} pairs.

Examples

To turn On custom intervals for the ERS1 satellite in the current scenario:

Graphics */Satellite/ERS1 SetAttrType CustomIntervals

To add an interval between the hours of 12 am and 2 am:

Graphics */Satellite/ERS1 CustomIntervals Add 1 "1 Jul 2000 00:00:00.00" "1 Jul 2000 02:00:00.00"

To set custom intervals so that the ERS1 satellite in the current scenario displays in green (Color Index #8) between the hours of 12 am and 2 am:

Graphics */Satellite/ERS1 CustomIntervals Edit "1 Jul 2000 00:00:00.00" "1 Jul 2000 02:00:00.00" show On Color 8

To set custom intervals so that the ERS1 satellite in the current scenario displays red (Color Index #5) between the hours of 2 and 6 am:

Graphics */Satellite/ERS1 CustomIntervals Edit "1 Jul 2000 02:00:00.00" "1 Jul 2000 06:00:00.00" show On Color 5

To add intervals from the specified interval list time component:

Graphics */Satellite/ERS1 CustomIntervals Import "Satellite/Satellite1 AccessFac1 Interval List"

Resolve any overlapping intervals for ERS1:

Graphics */Satellite/ERS1 CustomIntervals Deconflict

Return message

Group membership

This command belongs to the following group(s):

2D Object Graphics

Vehicles

Version

11.5