<?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: Interaction Help in ModelBuilder in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/interaction-help-in-modelbuilder/m-p/605498#M6561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is exactly what i was looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/automating_your_work_with_models/branching_colon_implementing_if_then_else_logic.htm"&gt;http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/automating_your_work_with_models/branching_colon_implementing_if_then_else_logic.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it creates a 'python script' with the 'if condition'... and it does it that exactly looking for a 'field name'...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;impossible better!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2012 00:10:42 GMT</pubDate>
    <dc:creator>Raphael_Augusto_FoscariniFerre</dc:creator>
    <dc:date>2012-01-13T00:10:42Z</dc:date>
    <item>
      <title>Interaction Help in ModelBuilder</title>
      <link>https://community.esri.com/t5/mapping-questions/interaction-help-in-modelbuilder/m-p/605497#M6560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, sorry if my post isn'n in the right sub-forum, but i really dont know where to post it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, i want to make a very simple model (actually i already did) where it will be created 5 specific columns in several existing shapefiles, with the same value in the entire column...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is ver simple... Just 'Add Field' (with their specifications) and then 'Calculate Value' for the column...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]11133[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The entire script is not that, this is a piece of that... Showing only this is a simple way to explain what is my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some shapefiles already have a column with the same 'Field Name' that i want to create...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i run the script, ArcMap shows the &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;'Warning 000012: Field already exists'&lt;/SPAN&gt;&lt;SPAN&gt; but the script keep going (this is good, it doesnt stop ever).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it runs the 'Calculate Value' in the pre-existing field and this is my problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to skip the 'Calculate Value' if the field already exists in the shapefile...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to create and set a 'default' value to the fields only in the shapefiles that doesnt have that field... And i have a thousands of shapes, so i cant do it one by one...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is there a way to put an 'if' in the model builder??&amp;nbsp; Like " 'if warning 000012...' "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there another way to solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i need this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 15:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/interaction-help-in-modelbuilder/m-p/605497#M6560</guid>
      <dc:creator>Raphael_Augusto_FoscariniFerre</dc:creator>
      <dc:date>2012-01-12T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction Help in ModelBuilder</title>
      <link>https://community.esri.com/t5/mapping-questions/interaction-help-in-modelbuilder/m-p/605498#M6561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is exactly what i was looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/automating_your_work_with_models/branching_colon_implementing_if_then_else_logic.htm"&gt;http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/automating_your_work_with_models/branching_colon_implementing_if_then_else_logic.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it creates a 'python script' with the 'if condition'... and it does it that exactly looking for a 'field name'...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;impossible better!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2012 00:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/interaction-help-in-modelbuilder/m-p/605498#M6561</guid>
      <dc:creator>Raphael_Augusto_FoscariniFerre</dc:creator>
      <dc:date>2012-01-13T00:10:42Z</dc:date>
    </item>
  </channel>
</rss>

