<?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: ModelBuilder loses file in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727713#M1443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem, and you are the first person I have found with the same problem.&amp;nbsp; Alas, no one has replied...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature classes in a geodatabase are processed using Iterate Feature Classes.&amp;nbsp; The messages say that the last feature class is processed in the same way as the others, producing an output raster and another feature class.&amp;nbsp; These output feature classes are collected using "Collect Values".&amp;nbsp; But when the output of the Iterate sub-model (Collect Values output) is fed into a Merge command, it crashes.&amp;nbsp; Upon further exploration, I discovered that the last output feature class in the iteration did not exist!&amp;nbsp; Does anyone know why this could be happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 00:18:41 GMT</pubDate>
    <dc:creator>DavidHockman-Wert</dc:creator>
    <dc:date>2012-07-11T00:18:41Z</dc:date>
    <item>
      <title>ModelBuilder loses file</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727712#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello ArcGIS-Community,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with ModelBuilder: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a model (see attachment: jpg and as pythonscript [just export, I have absolutely no idea of python], how can I upload the model?) with a Workspace (Iterate Feature Classes) as Model Parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input Files are all lines (.shp) with a field called Track_ID. These lines should be buffered and to the result I want to add a field called Track_name and then with the Calculate Field an Get Field Value Tools I want to name these fields with the ID. (I think I have to do this because the Buffer Tool just gives me an output with shape length, area and none of the attributes of the original line. How can I keep them?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problems: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The last Shapefile of the input workspace isn't saved in the Geodatabase (or anywhere else) it just gets lost. And I cannot find a mistake in my model. The Geoprocessing Result Window says Succeeded and all calculation are done (also with 'succeeded') even with the 'lost one'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The Get Field Value-Tool should grab the ID (looks like: 003) and give it as value to the field calculator as data type string. But even with that data typ it is losing the zeros and I get only a 3 instead of 003 in the output. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Info: (ArcGIS 10, ArcInfo Licence)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks, you are helping me a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MichaelBa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 14:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727712#M1442</guid>
      <dc:creator>MichaelBauder</dc:creator>
      <dc:date>2010-11-03T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder loses file</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727713#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem, and you are the first person I have found with the same problem.&amp;nbsp; Alas, no one has replied...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature classes in a geodatabase are processed using Iterate Feature Classes.&amp;nbsp; The messages say that the last feature class is processed in the same way as the others, producing an output raster and another feature class.&amp;nbsp; These output feature classes are collected using "Collect Values".&amp;nbsp; But when the output of the Iterate sub-model (Collect Values output) is fed into a Merge command, it crashes.&amp;nbsp; Upon further exploration, I discovered that the last output feature class in the iteration did not exist!&amp;nbsp; Does anyone know why this could be happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 00:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727713#M1443</guid>
      <dc:creator>DavidHockman-Wert</dc:creator>
      <dc:date>2012-07-11T00:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder loses file</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727714#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: dhockman-wert&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A colleague helped solve this one for me.&amp;nbsp; For some reason, ArcGIS is deleting the output from the processing of the last feature class being iterated, because it considers it intermediate data.&amp;nbsp; This seems strange, since the output data should be "collected" by the Collect Values tool prior to being passed to the main model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, unchecking Intermediate for the Derived Data solved the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 23:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-loses-file/m-p/727714#M1444</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-07-11T23:20:28Z</dc:date>
    </item>
  </channel>
</rss>

