Implement NIM012128  - the addition of "gp.overwriteoutput=1" to exported Python Scripts

Idea created by amarsden on Jul 12, 2010
    • zadar1
    • amarsden
    • mfletcher18
    • dpettittva
    • Ankeny_GIS
    • curtvprice
    This is already in the ESRI system but has been overlooked in 10 - it was first commented on by David Bollinger way back in 2004 So it isn't exactly new - below is the details I got from ESRI(UK) a few years back - but basically the majority of scripts don't work without "gp.overwriteoutput=1" added to them if they in anyway overwrite existing data.

    Nimbus Id: NIM012128
    • Synopsis: Add "gp.overwriteoutput=1" (or 0) to scripts exported from Model Builder to match geoprocessing option in Tools -> Options -> Geoprocessing settings.
    • Status: Deferred
    • Submitted: 2007-10-03 13:29:34.0
    • Severity: Medium
    • Version Found: 9.2 SP3
    • Planned Fix:
    • Server Platform: N/A
    • Client Platform: Windows XP
    • Database: N/A
    • Language: English
    • IDE: N/A
    • Programming Language: N/A
    • Description: Current script text exported from a model does not include this setting, so scripts may behave differently than expected from running tools in ArcToolbox.