Description | Example | Return Message | Group

VO Compass

Add a 3D Compass.

Syntax

VO * Compass ({CompassOption} <value>)...

Description

The 3D Compass command enables you to add a compass to the 3D Graphics window. You can specify one or more compass options with this command.

{CompassOption} <value> Description
WindowID <WinNumber> Specifies the 3D Graphics window to which the compass will be added. Defaults to 1.
Show {On | Off} Hides or shows the compass. Defaults to Off.
UseMagPole {On | Off} Set the compass to use the WMM (World Magnetic Model) magnetic north pole.

If the Central Body of the 3D Graphics window is not Earth, then the compass will point at the true north pole.

Radius <PixelValue> Specifies the compass radius in pixels.
XPosition <PixelValue> Specifies the center X coordinate of the compass, in pixels.
YPosition <PixelValue> Specifies the center Y coordinate of the compass, in pixels.
XOrigin {Left | Center | Right} Sets the origin point from which the compass is displayed.
YOrigin {Bottom | Center | Top} Sets the origin point from which the compass is displayed.

Example

The following command adds a compass to the 3D Graphics window 2.

VO * Compass Show on Windowid 2

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

VO

VO Window

Version

9.1

STK Programming Interface 11.0.1