Graphics ObjectStateInWin
Control the display of objects' graphics in the 2D window.
Syntax
Graphics <ScenarioPath> ObjectStateInWin {Options}
Related commands
Description
The Graphics ObjectStateInWin command allows you to turn off all graphics for one or more objects in a 2D Map Window.
{Option} | Description |
---|---|
Object <TruncObjectPath> | Specify the object whose graphics will be turned on or off.
Multiple objects can be specified on one line |
Show {On | Off} | Specify whether graphics should be on or off. |
WindowID {<WinNumber> | All} | Enter the number of the 2D window where graphics will be turned on or off, or enter All to turn graphics on or off in all 2D windows. |
WindowTitle "<WindowTitle>" | Enter the title of the 2D window where graphics will be turned on or off. |
If Show Off is specified then all graphics for the object will be hidden in the specified 2D Window regardless of other window on/off flags.
To find window ids and titles use the MapID_R command.
If either of the objects that are disabled in a window, are being used in access calculations, the access graphics for the access pair including the disabled object will not be displayed.
This command does not affect chains, constellations or attitude coverage objects
When a 2d window is created, all graphics will show up in that window until explicitly disabled by this command.
When a 2d window is destroyed, the on/off state of an object is reset for that window id. For example, if an object is off in window id 2 and then that window is destroyed, if another widow is created and this reuses the windowid of 2, that window will display all objects in it, even the object that was previously off in window 2.
Child objects will not display in windows where the parent object is disabled.
Examples
Turn off graphics for Target t1 and Aircraft ac1 in 2D windows 1 and 3:
Turn on graphics for Target t1 in 2D window 1:
Turn off graphics for Sensor5 in 2D windows 1 and 2:
Return message
Group membership
This command belongs to the following group(s):
Version
7.0