<?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: Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633965#M21120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great. Model Builder is really useful, but sometimes your workflow just requires a Python script!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jun 2019 19:12:43 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2019-06-29T19:12:43Z</dc:date>
    <item>
      <title>Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633961#M21116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to merge feature classes, that come from a submodel ("PFA_findBiggest") via inline variable substitution. They are saved in a GDB.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="317758" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/317758_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;They all have different fields. I want to merge them into one big table according to a fishnet_FID, that they all carry.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="317734" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/317734_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Here you can see, I tried the merge function in order to merge them into a feature class, but this didn't work. It only ever 'merged' the first %n%, which of course is 0, and nothing else. So the output of Merge is identical to the first layer processed.&lt;/P&gt;&lt;P&gt;I guess it's because Merge doesn't know that more is coming. That's why I have put the Collect Values in between. It is set to:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="317757" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/317757_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633961#M21116</guid>
      <dc:creator>PhilippZacharias</dc:creator>
      <dc:date>2017-02-08T15:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633962#M21117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sub model&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;PFA_findBiggest needs to be in a sub-model itself, looping and ultimately providing a single output (collect values) as a parameter. Then you have a list of datasets ready to feed into the merge tool as that need only run once.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 13:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633962#M21117</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-02-27T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633963#M21118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duncan is right on here, the Collect Values tool needs to be inside a sub model that returns the collected values as a returned output parameter. There is an example of this in the help on model interators.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 04:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633963#M21118</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-03-01T04:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633964#M21119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4563"&gt;Duncan Hornby&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/3355"&gt;Curtis Price&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Thanks guys. I remember that I ended up doing it all in python using arcpy directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 12:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633964#M21119</guid>
      <dc:creator>PhilippZacharias</dc:creator>
      <dc:date>2019-06-25T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633965#M21120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great. Model Builder is really useful, but sometimes your workflow just requires a Python script!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2019 19:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-merge-feature-classes-coming-from-a/m-p/633965#M21120</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-06-29T19:12:43Z</dc:date>
    </item>
  </channel>
</rss>

