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 |
---|---|---|
Clear | N/A | Removes 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. |
Deconflict | N/A | Resolve 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:
To add an interval between the hours of 12 am and 2 am:
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:
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:
To add intervals from the specified interval list time component:
Resolve any overlapping intervals for ERS1:
Return message
Group membership
This command belongs to the following group(s):
Version
11.5