概要
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")