<?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: Can we use &amp;quot;IF ELSE&amp;quot; condition in Arcmap without using python script in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858713#M2145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, good link, but the example in the help requires creation of a Python script tool. So does the example in the&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8931-if-you-are-stuck-at-if?sr=search&amp;amp;searchId=7fe48a5d-7146-4511-aa24-6dc24a489463&amp;amp;searchIndex=2"&gt;https://community.esri.com/docs/DOC-8931-if-you-are-stuck-at-if?sr=search&amp;amp;searchId=7fe48a5d-7146-4511-aa24-6dc24a489463&amp;amp;searchIndex=2&lt;/A&gt;‌ blog posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer the OP:&amp;nbsp;If the field already exists, Add Field will not throw an error, the tool it will throw a warning and the model will continue to run. I don't think you need an if branch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 03:00:57 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2017-11-22T03:00:57Z</dc:date>
    <item>
      <title>Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858711#M2143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to GIS models. I was preparing a very basic model which does the following task:&lt;BR /&gt;1.) Inputs 2 shapefiles&lt;BR /&gt;2.) Projects their co-ordinate system&lt;BR /&gt;3.) Repair Geometry&lt;BR /&gt;4.) Add Field(ID_no)&lt;BR /&gt;5.) Field Calculate for the field "ID_no."&lt;/P&gt;&lt;P&gt;Actually i want to apply if condition that if there is already a field named "ID_no" in the shapefile, don't add field else if there is not a field named "ID_no" in the shapefile then add the field.&lt;/P&gt;&lt;P&gt;Please help me out regarding how should I do this in GIS modelling as I am unaware of python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 08:35:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858711#M2143</guid>
      <dc:creator>AkhilChhibber1</dc:creator>
      <dc:date>2017-11-18T08:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858712#M2144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that you have the rest of the model put together already, but are just looking for help with&lt;/P&gt;&lt;P&gt;..... &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm"&gt;&lt;STRONG&gt;branching.. if-else&lt;/STRONG&gt; &lt;/A&gt;logic ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 22:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858712#M2144</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-18T22:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858713#M2145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, good link, but the example in the help requires creation of a Python script tool. So does the example in the&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8931-if-you-are-stuck-at-if?sr=search&amp;amp;searchId=7fe48a5d-7146-4511-aa24-6dc24a489463&amp;amp;searchIndex=2"&gt;https://community.esri.com/docs/DOC-8931-if-you-are-stuck-at-if?sr=search&amp;amp;searchId=7fe48a5d-7146-4511-aa24-6dc24a489463&amp;amp;searchIndex=2&lt;/A&gt;‌ blog posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer the OP:&amp;nbsp;If the field already exists, Add Field will not throw an error, the tool it will throw a warning and the model will continue to run. I don't think you need an if branch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 03:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858713#M2145</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-11-22T03:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858714#M2146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually what exactly I wanted as a result of my model is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the Add field, the next step is "Calculate Field" in which I copy the numbers same as FID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This step i.e. "Calculate Field" is not working in case the field "ID_no" already exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do in this scenario???????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 06:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858714#M2146</guid>
      <dc:creator>AkhilChhibber1</dc:creator>
      <dc:date>2017-11-22T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858715#M2147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work if the field exists or not if you connect the output of Add Field to Calculate Field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 16:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858715#M2147</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-11-22T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use "IF ELSE" condition in Arcmap without using python script</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858716#M2148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the specific case of the "Add Field" tool, you don't need an If..Else construct. The tool has been written to automatically skip adding a new field, and allow the model to continue, when there is an existing field with the same name as needs to be added, it will just emit a warning in the geoprocessing log, but continue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/can-we-use-quot-if-else-quot-condition-in-arcmap/m-p/858716#M2148</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2017-11-23T14:33:15Z</dc:date>
    </item>
  </channel>
</rss>

