ResetEnvironments

Summary

The ResetEnvironments function resets all environment settings to their default settings.

Discussion

Alternatively, the EnvManager class can be used to temporarily set an environment's value without using ResetEnvironments.

Syntax

ResetEnvironments ()

Code sample

ResetEnvironments example

Resets all environment settings to their default values.

import arcpy

# Reset environment settings to default settings.
arcpy.ResetEnvironments()

Related topics