Select to view content in your preferred language

env.overwriteOutput in Arc GIS Pro

968
2
12-24-2019 10:47 AM
JoeBorgione
MVP Emeritus

People have raised an issue with arcpy.env.overwriteOutput = true after upgrading to arcGIS 2.4.  See: https://community.esri.com/thread/236217-envoverwriteoutput-not-working-after-upgrade-to-pro-24 

I haven't run into this issue until today, after upgrading from 2.4 to Arc GIS Pro 2.4.3.  Is this a known bug?

That should just about do it....
0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

Joe, you meant

arcpy.env.overwriteOutput = True  # as in the boolean not the lowercase text 

 

Bug? can't find one, but my 'check' works and this is what I use.

https://community.esri.com/thread/236217-envoverwriteoutput-not-working-after-upgrade-to-pro-24#comm... 

Bugs listed on support

BUG-000126276: When running the ArcPy script tool in ArcGIS Pro, th.. 

BUG-000114017: When calling the Change Version ArcPy tool from a cu.. 

0 Kudos
JoeBorgione
MVP Emeritus

Dan- I've had mixed results with arcpy.Exists finding it not nearly as reliable as the straight python counter part. In fact our team adopted arcpy.env.overwriteOutput = True as a standard in our code writing because it has been more reliable.   I'll give it a shot none the less..

That should just about do it....
0 Kudos