<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Basic Model Won't Overwrite Existing Data in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853824#M766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also set &lt;EM&gt;Overwrite outputs&lt;/EM&gt; as in the properties/environment tag of the model (so the user doesn't have to do it in ArcMap for everything).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 22:25:23 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2017-09-28T22:25:23Z</dc:date>
    <item>
      <title>Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853818#M760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a model I created in Model Builder that simply runs several instances of the "Feature Class to Shapefile" tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run this tool over and over again, it keeps creating new files in the output directory, incrementing the filename by a single digit each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I run the tool three times I will end up with:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Water_mains.shp&lt;/LI&gt;&lt;LI&gt;Water_mains_1.shp&lt;/LI&gt;&lt;LI&gt;Water_mains_2.shp&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is there a way I can tell the model builder to overwrite these files instead of creating a unique file name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reference these files in several maps, and I thought I was updating the source data for these maps, but each time I run it it creates a new filename so the data source needs to be updated accordingly (not ideal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you know how to force the model to overwrite existing data?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 03:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853818#M760</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2016-06-28T03:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853819#M761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcMap, click Geoprocessing &amp;gt; Geoprocessing Environments.&lt;/P&gt;&lt;P&gt;Check the first option "&lt;STRONG&gt;Allow Geoprocessing tools to overwrite existing datasets&lt;/STRONG&gt;".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 09:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853819#M761</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-06-28T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853820#M762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jayanta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the comment, it seems I already have this option ticked on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These are the current settings I have in ArcMap:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-06-29 095644 Weave_Main.mxd - ArcMap.jpg" class="image-1 jive-image" src="/legacyfs/online/209794_2016-06-29 095644 Weave_Main.mxd - ArcMap.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These are the current settings I have in ArcCatalog (this is where I open the Model Builder model from):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-06-29 095441 ArcCatalog - GIS Servers.jpg" class="image-2 jive-image" src="/legacyfs/online/209855_2016-06-29 095441 ArcCatalog - GIS Servers.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 00:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853820#M762</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2016-06-29T00:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853821#M763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a copy of the model I am using, is there a setting stored inside this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dl.dropboxusercontent.com/u/32195871/Work%20Only/GeonetExport.zip"&gt;https://dl.dropboxusercontent.com/u/32195871/Work%20Only/GeonetExport.zip&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 00:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853821#M763</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2016-06-29T00:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853822#M764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you just delete the old, then create the new? although it is easier to do this in scripting.&amp;nbsp; Also, if the file is being 'used' anywhere you can't overwrite or delete, so adding results to display for a step means you can't get rid of it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 00:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853822#M764</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-06-29T00:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853823#M765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct, I can delete these files and recreate (time consuming and annoying), and I can script this, but that can be time consuming and that defeats the purpose of me using model builder for 'quick' processes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The shape files are being referenced in AutoCAD files by people in other departments, they are not continually being used, and the chances of someone referencing them and locking them when I run the tool are slim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 01:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853823#M765</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2016-06-29T01:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853824#M766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also set &lt;EM&gt;Overwrite outputs&lt;/EM&gt; as in the properties/environment tag of the model (so the user doesn't have to do it in ArcMap for everything).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853824#M766</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-09-28T22:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853825#M767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jayanta's answer is marked correct. But it sounds like maybe his answer did this not work???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853825#M767</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-09-28T22:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853826#M768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;overwrite does not overwrite if it is being used as I pointed out and he confirmed in his last comment... don't know if Ben closed it offhand, but what the hey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853826#M768</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-09-28T22:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853827#M769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its funny how I come about finding this old post... I just got a new PC, and I forgot how to setup my models so that they overwrote data each time I run it, so I Googled my problem which actually found my original post above. Reading Jayanta's comments allowed me to fix my problem (this time). So I marked it as correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure what the fix was back in 2016, but something else must have been locking my data, not allowing it to be overwritten, but this time around Jayanta fixed my issue, hence the marking it correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everyone can sleep easier now knowing its all good &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853827#M769</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2017-09-28T22:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853828#M770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Curtis, could you be more specific? I don't see this option anywhere when I right-click my model &amp;gt; &lt;EM&gt;Model Properties&lt;/EM&gt; &amp;gt; &lt;EM&gt;Environments&lt;/EM&gt; &amp;gt; ?&lt;/P&gt;&lt;P&gt;FYI: 10.4.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 18:38:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853828#M770</guid>
      <dc:creator>JoeBryant2</dc:creator>
      <dc:date>2017-10-11T18:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853829#M771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;Would a solution to the data being "locked" from being overwritten/deleted be to instead use the "&lt;STRONG&gt;Truncate Table&lt;/STRONG&gt;" tool to remove all the features from the feature class, then use the "&lt;STRONG&gt;Append&lt;/STRONG&gt;" tool to re-populate the table? Or would this also fail if, for instance, ArcServer services are referencing the data?&lt;/P&gt;&lt;P&gt;I've heard the above workflow is also preferable as it&amp;nbsp;maintains&amp;nbsp;the metadata&amp;nbsp;for the feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 18:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853829#M771</guid>
      <dc:creator>JoeBryant2</dc:creator>
      <dc:date>2017-10-11T18:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853830#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, Joe, overwrite outputs can only be set at the application level (ArcMap &amp;gt; Geoprocessing &amp;gt; Options) or in Python scripting. Sorry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853830#M772</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-10-12T03:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853831#M773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: 0cm;"&gt;This appear not work in Pro 2.5.&lt;/P&gt;&lt;P style="margin-left: 0cm;"&gt;&lt;/P&gt;&lt;P style="margin-left: 0cm;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/497423_Clip_34.jpg" /&gt;&lt;/P&gt;&lt;P style="margin-left: 0cm;"&gt;&lt;/P&gt;&lt;P style="margin-left: 0cm;"&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/497424_Clip_35.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 09:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853831#M773</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2020-06-22T09:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853832#M774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamal, I don't see any thing in your screen shot that is "not working".&amp;nbsp; Maybe you could describe your problem better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is true that sometimes one tool or another does not handle overwrite well, but for me overwrite output has been working a little more consistently than it does in ArcMap, mostly because Pro is a single application (as opposed to futzing with file locks caused by using ArcMap and ArcCatalog at the same time).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though a common problem in Pro is that since it is multi threaded, you can have a feature class or field list open for editing when you try to run a tool and run into a file lock error. The fix is to go to the edit menu and save or reject your changes, this will remove the file lock so you can overwrite your output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853832#M774</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2020-06-23T14:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Model Won't Overwrite Existing Data</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853833#M775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: 0in;"&gt;Thanks Curtis.&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;The model shown in the screenshot below, is assumed to deliver “5” outputs. Currently, each time any parameter is modified in any of the tools that participate in the model leads to creating new output for that tool instead of replacing the previous output.&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;In the second screenshot, the number of outputs are more than “5”. I assume that the number of outputs for this model should be kept “5” if the outputs are overwritten.&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;Am I correct?&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/497867_Clip_1560.jpg" /&gt;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&lt;/P&gt;&lt;P style="margin-left: 0in;"&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/497868_Clip_1561.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 10:18:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/basic-model-won-t-overwrite-existing-data/m-p/853833#M775</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2020-06-25T10:18:05Z</dc:date>
    </item>
  </channel>
</rss>

