Description | Example | Return Message | Group

MapGraphics SetCentralBody

Set the central body that will be displayed in a 2D Graphics window

Syntax

MapGraphics <ScenarioPath> SetCentralBody <CBName> [WindowID <WinNumber>]

Description

The MapGraphics CentralBody command allows you to change the central body being displayed in a 2D window. If the WindowID option is not included in the command the central body will be changed in the first 2D Graphics window.

Example

Set the central body to Mars in the first 2D window:

MapGraphics * SetCentralBody Mars

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

8.1

STK Programming Interface 11.0.1