LoadSettings (arcpy)

摘要

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.

语法

LoadSettings (file_name)
参数说明数据类型
file_name

An existing XML file that contains environment settings.

String

代码实例

LoadSettings example

Load settings from environment settings XML file.

import arcpy

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

相关主题

9/15/2013