Show Navigation | Hide Navigation
You are here:
Geoprocessing > Automating your work with scripts > Scripting object: Properties and Methods > Properties and Methods

ClearEnvironment method

Release 9.3
Last modified January 19, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Properties and Methods"


Related Topics

Note: This topic was updated for 9.3.1.

Resets a specific environment setting to its default

Syntax


object.ClearEnvironment(environmentName As String)

Part Description
object The instantiated geoprocessing object
environmentName The name of the environment setting that will be reset to its default setting


Examples



import arcgisscripting
gp = arcgisscripting.create(9.3)

gp.xytolerance = "0.01 meters"
gp.ClearEnvironment("xytolerance")
print gp.xytolerance



Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.