Description | Example | Return Message | Group

UseMapStyle

Sets the 2D map style

Syntax

UseMapStyle <ScenarioPath> {MapStyle} [<WinNumber>]

Related Commands

Description

Sets the 2D map to the input map style. Valid values for {MapStyle} can be any styles that have been defined for the scenario.

Include the <WinNumber> parameter to specify a 2D map window. If <WinNumber> is not included then the map style will be applied to the first 2D Map window.

Note: The {MapStyle} must be in quotes if there are spaces in the style name.

Example

To set the first 2D map style to Style 1:

UseMapStyle * "MapStyle1"

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

4.2

STK Programming Interface 11.0.1