LoadSettings (arcpy)
Récapitulatif
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.
Syntaxe
LoadSettings (file_name)
Paramètre | Explication | Type de données |
file_name |
An existing XML file that contains environment settings. | String |
Exemple de code
LoadSettings example
Load settings from environment settings XML file.
import arcpy
# Load previously saved environment settings
#
arcpy.LoadSettings("C:/Data/MyCustomSettings.xml")
Thèmes connexes
4/26/2014