Description | Example | Return Message | Group

Graphics TimeComponents (Vehicles)

Control the display of different graphics attributes for specific time components during animation

Syntax

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

Description

The Graphics TimeComponents command allows you to control graphics during the times specified by time components.

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

To learn how to specify a "<TimeComponent>" see Component Specification.

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

{Action} <Parameters> Description
Clear N/A Removes all display intervals from the time component list.
Add "<TimeComponent>" [{AttributeOption} {Action}] Adds the intervals from the specified Interval or Interval List "<TimeComponent>" to the existing interval list. If Graphics SetAttrIntervals is set to TimeComponents, object graphics only appear during the intervals set using this command.
Edit [{EditAction} | "<TimeComponent>"] [IntervalList <ListName>] {AttributesOption} {Action} {EditAction} can be All, Default or AllComponents. If you don't specify an {EditAction}, you must specify a "<TimeComponent>".

If {EditAction} is All, all intervals, including the default interval, will be modified. If {EditAction} is AllComponents, 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.

[IntervalList <ListName>] This option is valid only if a Collection of Interval Lists "<TimeComponent>" is entered. This can be entered to specify an interval list within the Collection whose attributes are to be modified. If this option is not included then all interval lists in the Collection will be modified.

Remove "<TimeComponent>" The specified "<TimeComponent>" will be removed.
Priority {Increase | Decrease | Top | Bottom | Set <Num>} "<TimeComponent>" Update the graphics priority of the specified "<TimeComponent>".

Increase or Decrease will move the priority of the component up or down by 1.

Use Set <Num> to set a specific priority. <Num> must be >= 1; if <Num> is greater than the Component list length it will move the Component to the end of the list.

When components are added all have priority 1. The TimeComponents Priority command will reset all priorities based on the command input.

Refer to the Graphics_R TimeComponents command to get current priority settings.

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

Example

To turn On time components for the ERS1 satellite in the current scenario:

Graphics */Satellite/ERS1 SetAttrType TimeComponents

To add an interval list time component:

Graphics */Satellite/ERS1 TimeComponents Add "Satellite/Satellite1 AccessFac1 Interval List"

To set graphics attributes for the selected time component so that the ERS1 satellite in the current scenario displays in green (Color Index #8):

Graphics */Satellite/ERS1 TimeComponents Edit "Satellite/Satellite1 AccessFac1 Interval List" show On Color 8

To remove the specified interval list time component:

Graphics */Satellite/ERS1 TimeComponents Remove "Satellite/Satellite1 AccessFac1 Interval List"

To increase the graphics priority of the specified time component:

Graphics */Satellite/Satellite1 TimeComponents Priority Increase "Satellite/Satellite1 PassIntervals.First Interval"

Example

To set the graphics attribute type for Satellite1 and add a Collection of Interval Lists component:

Graphics */Satellite/Satellite1 SetAttrType TimeComponents

Graphics */Satellite/Satellite1 TimeComponents Add "Satellite/Satellite1 LightingIntervals Collection of Interval Lists" show on color red linestyle dotted

To set graphics attributes for the Collection of Interval Lists component:

Graphics */Satellite/Satellite1 TimeComponents Edit "Satellite/Satellite1 LightingIntervals Collection of Interval Lists" color yellow linewidth 3

To set graphics attributes for the Umbra interval list of the Collection of Interval Lists component:

Graphics */Satellite/Satellite1 TimeComponents Edit "Satellite/Satellite1 LightingIntervals Collection of Interval Lists" IntervalList Umbra color green linewidth 1

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Object Graphics

Vehicles

Version

10.1

STK Programming Interface 11.0.1