Description | Example | Return Message | Group

MapAttribs

Control the graphical attributes of the 2D Graphics window

Syntax

MapAttribs <ScenarioPath> {AttributeType} {Attribute} {State} [<Color>]

Description

The MapAttribs command allows you to control the display of images and terrain data in the 2D Graphics window as well as the display of the current animation time. {AttributeType} can be Display or ScenTime. {Attribute} and {State} depend on the {AttributeType} specified.

{AttributeType} {Attribute} {State}
Display ImageExtents {On | Off}
ImageFileNames {On | Off}
TerrainRegions {On | Off}
ScenTime Display {On | Off} [{Color}]
Background {On | Off} [{Color}]
XY <x> <y>
TextTranslucency <Value>

Set the percent translucency of the text. <Value> can be between 0.0 and 100.0

BackgroundTranslucency <Value>

Set the percent translucency of the background. <Value> can be between 0.0 and 100.0

For valid {Color} options see Common Options.

Example

To turn On the display of the animation time and set its color to blue when it displays in the 2D Graphics window:

MapAttribs * ScenTime Display On Blue

To set the translucency of the animation time text to 50%:

MapAttribs * ScenTime TextTranslucency 50

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

10

STK Programming Interface 11.0.1