LoadSettings

Summary

Loads environment settings from an environment settings file (text stored in an Extensible Markup Language [XML] schema). See also SaveSettings on how to save environment settings.

Syntax

LoadSettings (file_name)
ParameterExplanationData Type
file_name

An existing XML file that contains environment settings.

String

Code Sample

LoadSettings example

Load settings from environment settings XML file.

import arcpy

# Load previously saved environment settings
#
arcpy.LoadSettings("C:/Data/MyCustomSettings.xml")

Related Topics


10/28/2011