Description | Example | Return message | Group

ExportMapStyles

Export map styles.

Syntax

ExportMapStyles <ScenarioPath> {Options}

Related commands

Description

Export all map styles or a selected map style. The output file will always be the same name as the map style and will be written to the specified directory or the default map style directory (user's Config/MapStyles directory).

However, if a directory is not specified and the map style has been imported from another directory it will be exported to that same directory, overwriting the existing style.

The output file suffix will be .scms (scenario map style)

{Options}Description
Style {"<StyleName>" | AllMapStyles}The styleName can be any of the map styles from the map styles dialog. If AllMapStyles is specified, all existing map styles are exported.

Use the command GetMapStyles_R to get a list of loaded map styles.

Directory "<DirectoryPath>" Specify the directory where the exported map styles will be written.

Examples

To Export all map styles to the directory c:\MyMapDir:

ExportMapStyles * Style AllMapStyles Directory "c:\MyMapDir"

To Export the map style "Basic_Map_Bckgrnd" to the default directory:

ExportMapStyles * Style "Basic_Map_Bckgrnd"

Return message

Group membership

This command belongs to the following group(s):

2D Graphics Window

Scenarios

Version

6.1