<?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: overwrite outputs in file geodatabase arcgis 10.1 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291183#M22553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have a one python scripts which pick the data from excel file then convert into into a feature class and overwrite in file geodatabase. but i need such type of script which pick the file from current map document convert into a feature and overwrite the same feature in file geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 02:43:57 GMT</pubDate>
    <dc:creator>nadeemfareed</dc:creator>
    <dc:date>2013-08-23T02:43:57Z</dc:date>
    <item>
      <title>overwrite outputs in file geodatabase arcgis 10.1</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291181#M22551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;well &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using moderbuilder to automate some geoprocessing work. i have used arcgis tool in model builder then save the model to run, whenever it is needed. problem is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i run the model it give me massage the output already exists. i want to overwrite the output features that are stored on database. i have enable the option in geoprocessing "overwrite the geoprecessing results" but it does not work. please let me know how i can do this that everytime when i run the model it overwrite the previous files in the geodatabase. overwriting is important so i am not ok with alternatives.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks alot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 06:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291181#M22551</guid>
      <dc:creator>nadeemfareed</dc:creator>
      <dc:date>2013-08-22T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite outputs in file geodatabase arcgis 10.1</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291182#M22552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you really want to use model builder, you will have to create a custom tool to check for the existance of the target file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it exists, you can delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at "Checking for the existence of data" in the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is usually easier to do processes with looping and existance checks and whatnot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entirely in python instead of mucking about with model builder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 13:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291182#M22552</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-08-22T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite outputs in file geodatabase arcgis 10.1</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291183#M22553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have a one python scripts which pick the data from excel file then convert into into a feature class and overwrite in file geodatabase. but i need such type of script which pick the file from current map document convert into a feature and overwrite the same feature in file geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:43:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291183#M22553</guid>
      <dc:creator>nadeemfareed</dc:creator>
      <dc:date>2013-08-23T02:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite outputs in file geodatabase arcgis 10.1</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291184#M22554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like you will run into file locks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taking a layer out of an open ArcMap document and trying to overwrite its source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot imagine why one would need to do that.... However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could access the mxd file with python &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(not open it in ArcMap), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grab the layer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;save it to memory (or another gdb),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;close the mxd (delete the mxd object variable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then overwrite the fc in the gdb with the in memory fc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-outputs-in-file-geodatabase-arcgis-10-1/m-p/291184#M22554</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-08-23T18:23:12Z</dc:date>
    </item>
  </channel>
</rss>

