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.

Note: 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.

Example

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"

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Scenarios

Version

6.1

STK Programming Interface 11.0.1