<?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 Using Model Builder and Count rows to determine which Models to Run in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/using-model-builder-and-count-rows-to-determine/m-p/860352#M2631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed two model builders - one for shapefile with 2 or more point features (that will be used to create multiple buffers and merge all buffer togethers), and one for shapefile with only one point feature. &amp;nbsp;So far, I am trying to figure how to incorporate the "If then" to direct the tool to select correct model for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initial entry point would be "Shapefile.shp" into Get Count module which outputs the Row Count, then from there, am uncertain how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Feb 2017 19:02:49 GMT</pubDate>
    <dc:creator>ErickPosner</dc:creator>
    <dc:date>2017-02-25T19:02:49Z</dc:date>
    <item>
      <title>Using Model Builder and Count rows to determine which Models to Run</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-model-builder-and-count-rows-to-determine/m-p/860352#M2631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed two model builders - one for shapefile with 2 or more point features (that will be used to create multiple buffers and merge all buffer togethers), and one for shapefile with only one point feature. &amp;nbsp;So far, I am trying to figure how to incorporate the "If then" to direct the tool to select correct model for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initial entry point would be "Shapefile.shp" into Get Count module which outputs the Row Count, then from there, am uncertain how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2017 19:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-model-builder-and-count-rows-to-determine/m-p/860352#M2631</guid>
      <dc:creator>ErickPosner</dc:creator>
      <dc:date>2017-02-25T19:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Model Builder and Count rows to determine which Models to Run</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-model-builder-and-count-rows-to-determine/m-p/860353#M2632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right to consider&amp;nbsp;the Get Count tool. The output&amp;nbsp;of this itool will be the row count.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Rename the Get Count output to an element name &lt;EM&gt;Point Count&lt;/EM&gt;.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Create two Calculate Value tools and use the expressions %Point Count% == 1 &amp;nbsp;and %Point Count% &amp;gt; 1. Both of these CV tools should have %Point Count% as a precondition.&lt;/LI&gt;&lt;LI&gt;Link the output from these two Calculate Value tools as preconditions to your two model tools (these should have parameters defined so you can add them to your main model).&lt;/LI&gt;&lt;LI&gt;If your two model tools have a single output feature class, you can merge the two branches together with the Merge Branch tool.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-model-builder-and-count-rows-to-determine/m-p/860353#M2632</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-02-27T18:30:18Z</dc:date>
    </item>
  </channel>
</rss>

