Description | Example | Return Message | Group

VO WindowState

Control the display of object graphics in the 3D window.

Syntax

VO <ObjectPath> WindowState {Options}

Related Commands

Description

The VO WindowState command allows the user to turn off all graphics for an object in a 3D Map Window.

{Option} Description
Show {On | Off} Specify whether graphics should be on or off.
WindowID {<WinNumber> | All} Enter the number of the 3D window where graphics will be turned on or off, or enter All to turn graphics on or off in all 3D windows.
WindowTitle "<WindowTitle>" Enter the title of the 3D 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 3D Window regardless of other window on/off flags.

To find window ids and titles use the VO_R MapID 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 3D window is created, all graphics will show up in that window until explicitely disabled by this command.

When a 3D 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.

Example

Turn off graphics for Target t1 in 3D windows 1 and 3:

VO */Target/t1 WindowState Show off WindowId 1 WindowId 3

Turn on graphics for Target t1 in 3D window 1:

VO */Target/t1 WindowState Show On WindowId 1

Turn off graphics for the Satellite, and it's children, in the 3D window with the specified title:

VO */Satellite/Satellite1 WindowState Show off WindowTitle "3D Graphics 1 - Earth"

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Comm

CAT

Coverage

Facilities, Places & Targets

Line Targets

Radar

Scenarios

Sensors

Stars & Planets

Vehicles

VO

VO Objects

Version

10

STK Programming Interface 11.0.1