<?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: Delete Features Upon Completion of Model in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721548#M23880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your suggestions, however model builder does not give me the option to set the data in the temporary geodatabase as "intermediate."&amp;nbsp; Is there another way to delete the data from the geodatabase?&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2012 20:43:40 GMT</pubDate>
    <dc:creator>StuartBlumberg</dc:creator>
    <dc:date>2012-06-08T20:43:40Z</dc:date>
    <item>
      <title>Delete Features Upon Completion of Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721546#M23878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a temporary geodatabase where several feature classes are created during the process of a model run.&amp;nbsp; Once the model completes I would like to delete all the features in this geodatabase without deleting the geodatabase itself.&amp;nbsp; I have tried simply adding a "delete" tool in model builder after the last process, however, there seems to be a schema lock on the data while the model is still running.&amp;nbsp; Is there a way around this?&amp;nbsp; Can I make the delete tool run "on completion of the model?"&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721546#M23878</guid>
      <dc:creator>StuartBlumberg</dc:creator>
      <dc:date>2012-06-06T20:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Features Upon Completion of Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721547#M23879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you considered using an &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_in_memory_workspace/002w0000005s000000/"&gt;in_memory workspace&lt;/A&gt;&lt;SPAN&gt;?&amp;nbsp; If you don't need the intermediate data that are created in the geodatabase, you can set the outputs of the data that would've been written to the geodatabase to an in-memory workspace, i.e. a clip could write to in_memory/clip_result.&amp;nbsp; This clip_result feature layer can then be used in later processes in the model, but after the model finishes, it will be deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to note, if this is an intensive model, in that it creates a lot of intermediate data, you might be better off saving to the geodatabase.&amp;nbsp; In that case, take a look at the use of &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_managing_intermediate_data/002w0000000z000000/"&gt;intermediate data&lt;/A&gt;&lt;SPAN&gt; to manage data that is not needed after the model completes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721547#M23879</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2012-06-06T20:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Features Upon Completion of Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721548#M23880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your suggestions, however model builder does not give me the option to set the data in the temporary geodatabase as "intermediate."&amp;nbsp; Is there another way to delete the data from the geodatabase?&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 20:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721548#M23880</guid>
      <dc:creator>StuartBlumberg</dc:creator>
      <dc:date>2012-06-08T20:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Features Upon Completion of Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721549#M23881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can add the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Iterate_Feature_Classes/00400000000r000000/"&gt;Iterate Feature Classes&lt;/A&gt;&lt;SPAN&gt; iterator to the end of the model so that will iterate through each feature class and delete them.&amp;nbsp; Set a precondtion that the final output needs to be created before the iterator runs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 21:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-features-upon-completion-of-model/m-p/721549#M23881</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2012-06-08T21:02:57Z</dc:date>
    </item>
  </channel>
</rss>

