Description | Example | Return Message | Group

VO_R MapID

Return information about the open 3D windows.

Syntax

VO_R <ScenarioPath> MapID [{Type} | Count [{Type}]]

Description

The VO_R MapID command returns the numerical IDs for open 3D Graphics windows.

{Type} can be Map, Attitude, SolarPanel, Obscuration, Area or AzElMask.

Include the {Type} option to return only map ids of the type specified.

Adding the Count keyword will return the number of 3D windows (all types) open. If you only want to return the number of a certain type of 3D window use the {Type} option.

Example

To return a list of IDs for all 3D windows in the current scenario:

VO_R * MapID

ReturnMessage

1 - 3D Graphics 1 - Earth
2 - Second VO View
3 - 3D Attitude Graphics 3
4 - 3D Attitude Graphics 4 - ScenTestFac

Example

To return a list of IDs for all 3D Attitude windows in the current scenario:

VO_R * MapID Attitude

ReturnMessage

3 - 3D Attitude Graphics 3
4 - 3D Attitude Graphics 4 - ScenTestFac

Example

To return the number of 3D Graphics windows open:

VO_R * MapID Count

ReturnMessage

4

Example

To return the number of 3D Area windows open:

VO_R * MapID Count Area

ReturnMessage

0

Group Membership

This command belongs to the following group(s):

VO

VO Window

Version

10.1

STK Programming Interface 11.0.1