New Layer Default Settings

Summary

Sets default display styles for a new layer.

Syntax

RunMacro("G30 new layer default settings", string new_lyr)

Argument Contents
new_lyr The name of the new layer

Example

// Before running the example, create a map by opening nesouth.cdf
// in the Tutorial folder.
folder = RunMacro("G30 Tutorial Folder")
new_lyr = AddLayer(, "Place", folder + "nes_plc.cdf", "Place")
RunMacro("G30 new layer default settings", new_lyr)