Skip to main content

ResetEnvironments

サマリー

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

ディスカッション

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

構文

ResetEnvironments()

コードのサンプル

ResetEnvironments example

Resets all environment settings to their default values.

import arcpy

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