LoadSettings

Zusammenfassung

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)
ParameterErläuterungDatentyp
file_name

An existing XML file that contains environment settings.

String

Codebeispiel

LoadSettings example

Load settings from environment settings XML file.

import arcpy

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

Verwandte Themen


7/10/2012