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.

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

Examples

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

UseMapStyle * "MapStyle1"

Return message

Group membership

This command belongs to the following group(s):

2D Graphics Window

Version

4.2