<?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: How to use Calculate Value for if then? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745741#M834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this&amp;nbsp;info&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm"&gt;Using If-Then-Else logic for branching—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and these examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/if-you-are-stuck-at-if-part-1/?rmedium=blogs_esri_com&amp;amp;rsource=/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/if-you-are-stuck-at-if-part-1/?rmedium=blogs_esri_com&amp;amp;rsource=/esri/arcgis/2011/06/06/modelbuilderifthenelse1/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2020 06:35:10 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2020-05-08T06:35:10Z</dc:date>
    <item>
      <title>How to use Calculate Value for if then?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745740#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have looked through the documentation for using &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/modelbuilder-toolbox/calculate-value.htm"&gt;Calculate Value &lt;/A&gt;to act as if then in Model Builder, but am not connecting the dots. I want to Get Count to determine the number of rows. And then use that with Calculate Value to return TRUE else FALSE. So, if Row Count&amp;gt;0, then TRUE, else FALSE. Then use a While to point to the appropriate next steps. But how do I connect the Row Count to the Calculate Value? Obviously I'm missing a step or have made this too complicated because this is not feasible as described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 20:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745740#M833</guid>
      <dc:creator>WhitneyWeber</dc:creator>
      <dc:date>2020-05-07T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Calculate Value for if then?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745741#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this&amp;nbsp;info&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm"&gt;Using If-Then-Else logic for branching—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and these examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/if-you-are-stuck-at-if-part-1/?rmedium=blogs_esri_com&amp;amp;rsource=/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/if-you-are-stuck-at-if-part-1/?rmedium=blogs_esri_com&amp;amp;rsource=/esri/arcgis/2011/06/06/modelbuilderifthenelse1/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 06:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745741#M834</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2020-05-08T06:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Calculate Value for if then?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745742#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use model builder but I had a quick look. Something along the lines of (guessing the model builder syntax):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myfunc(%Row Count%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def myfunc(input):&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; return bool(input) &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 10:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745742#M835</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-05-08T10:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Calculate Value for if then?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745743#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your row count can be done like this in Modelbuilder&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/491463_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;with you Calculate Value expression like this&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/491491_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 10:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745743#M836</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2020-05-08T10:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Calculate Value for if then?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745744#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize for not replying sooner - that was very helpful and worked, but I required additional complexity which forced me to Python. I needed to take the leap regardless. Thank you for your response and help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 13:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-calculate-value-for-if-then/m-p/745744#M837</guid>
      <dc:creator>WhitneyWeber</dc:creator>
      <dc:date>2020-06-09T13:12:07Z</dc:date>
    </item>
  </channel>
</rss>

