ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

ResetEnvironments

  • Summary
  • Discussion
  • Syntax
  • Code sample

Summary

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 ResetEnvironment.

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

  • Using environment settings in Python
  • ClearEnvironment
  • GetSystemEnvironment
  • ListEnvironments

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal