<?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 Ignore errors instead of stopping in modelbuilder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489421#M16334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a model which will pull 30 features from a database and a second model which will perform a feature class rename on these 30 different features.&amp;nbsp; This is done on a daily basis.&amp;nbsp; Sometimes one of the names will change or a feature won't be pulled in for some reason.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem is that when the rename model is running if it can't find a feature it will error the entire model instead of ignoring the error and skipping to the next feature to rename.&amp;nbsp; None of the processes have preconditions.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is their a way I can tell the model to ignore errors and move on if it can't find a feature?&amp;nbsp; A green error instead of a red one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 14:10:58 GMT</pubDate>
    <dc:creator>TomMagdaleno</dc:creator>
    <dc:date>2013-03-04T14:10:58Z</dc:date>
    <item>
      <title>Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489421#M16334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a model which will pull 30 features from a database and a second model which will perform a feature class rename on these 30 different features.&amp;nbsp; This is done on a daily basis.&amp;nbsp; Sometimes one of the names will change or a feature won't be pulled in for some reason.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem is that when the rename model is running if it can't find a feature it will error the entire model instead of ignoring the error and skipping to the next feature to rename.&amp;nbsp; None of the processes have preconditions.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is their a way I can tell the model to ignore errors and move on if it can't find a feature?&amp;nbsp; A green error instead of a red one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 14:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489421#M16334</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-03-04T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489422#M16335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could try exporting it to a python script to add some error handling.&amp;nbsp; For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # rename fc here
except: 
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('Could not find feature class')
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is another option:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
if arcpy.Exists(feature_class):
&amp;nbsp;&amp;nbsp;&amp;nbsp; # rename fc here
else: 
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('Could not find feature class')
&amp;nbsp;&amp;nbsp;&amp;nbsp; # or pass
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489422#M16335</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T21:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489423#M16336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Caleb.&amp;nbsp; I have never had luck exporting to python and trying to run a script, something is always missing.&amp;nbsp; So I have my script running ArcCatalog Models instead.&amp;nbsp; But if I did use Python for this task where would I stick the piece of code you recommended?&amp;nbsp; I tried and it told me it is expecting an indented block.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# HTErename2.py
# Created on: 2013-03-04 13:45:45.00000
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# Description: 
# ---------------------------------------------------------------------------

# Import arcpy module
import arcpy

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # rename fc here
except: 
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('Could not find feature class')

# Local variables:
GIS_LX_Active_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_LX_Active_"
GIS_BP_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_BP_"
GIS_CE_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_CE_"
GIS_LX_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_LX_"
GIS_OL_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_OL_"
abc = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\abc"
GIS_PZ_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_PZ_"
GIS_TSI_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_TSI_"
GIS_UA_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UA_"
GIS_UF_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UF_"
GIS_UL_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UL_"
GIS_UR_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UR_"
GIS_URSVC_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_URSVC_"
GIS_US_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_US_"
GIS_USSVC_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_USSVC_"
GIS_UW_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UW_"
GIS_UWSVC_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_UWSVC_"
GIS_WF_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_WF_"
GIS_WF_SWID2_ = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\GIS_WF_SWID2_"
intersections = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\intersections"
HTE_BuildingPermits = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_BuildingPermits"
HTE_CodeEnforcement = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_CodeEnforcement"
HTE_LX_LocPoints_All = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_LX_LocPoints_All"
HDL_BusinessLicense_OL = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HDL_BusinessLicense_OL"
HTE_LX_Active_LocPoints = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_LX_Active_LocPoints"
HTE_ABCLicenses = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_ABCLicenses"
HTE_Planning_Zoning = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Planning_Zoning"
HTE_UtilitiesAll_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_UtilitiesAll_CX"
SQL_TrafficSignInv = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\SQL_TrafficSignInv"
HTE_Util_Fireline_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Fireline_CX"
HTE_Util_Landscape_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Landscape_CX"
HTE_Util_Refuse_Active_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Refuse_Active_CX"
HTE_Util_Sewer_Active_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Sewer_Active_CX"
HTE_Util_Sewer_Service_All_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Sewer_Service_All_CX"
HTE_Util_Water_Active_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Water_Active_CX"
HTE_Util_Water_All_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Water_All_CX"
HTE_WorkOrders = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_WorkOrders"
HTE_StormWater_WorkOrders_SWID2 = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_StormWater_WorkOrders_SWID2"
HTE_Intersections = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Intersections"
HTE_Util_Refuse_All_CX = "G:\\CamarilloGIS\\Databases\\GeoDatabases\\HTE.gdb\\HTE_Util_Refuse_All_CX"

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # rename fc here
except: 
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('Could not find feature class')
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
# Process: Rename (2)
arcpy.Rename_management(GIS_BP_, HTE_BuildingPermits, "FeatureClass")

# Process: Rename (3)
arcpy.Rename_management(GIS_CE_, HTE_CodeEnforcement, "FeatureClass")

# Process: Rename (4)
arcpy.Rename_management(GIS_LX_, HTE_LX_LocPoints_All, "FeatureClass")

# Process: Rename (5)
arcpy.Rename_management(GIS_OL_, HDL_BusinessLicense_OL, "FeatureClass")

# Process: Rename (7)
arcpy.Rename_management(GIS_LX_Active_, HTE_LX_Active_LocPoints, "FeatureClass")

# Process: Rename (6)
arcpy.Rename_management(abc, HTE_ABCLicenses, "FeatureClass")

# Process: Rename (8)
arcpy.Rename_management(GIS_PZ_, HTE_Planning_Zoning, "FeatureClass")

# Process: Rename (9)
arcpy.Rename_management(GIS_UA_, HTE_UtilitiesAll_CX, "FeatureClass")

# Process: Rename (10)
arcpy.Rename_management(GIS_TSI_, SQL_TrafficSignInv, "FeatureClass")

# Process: Rename (11)
arcpy.Rename_management(GIS_UF_, HTE_Util_Fireline_CX, "FeatureClass")

# Process: Rename (12)
arcpy.Rename_management(GIS_UL_, HTE_Util_Landscape_CX, "FeatureClass")

# Process: Rename (13)
arcpy.Rename_management(GIS_UR_, HTE_Util_Refuse_Active_CX, "FeatureClass")

# Process: Rename (14)
arcpy.Rename_management(GIS_US_, HTE_Util_Sewer_Active_CX, "FeatureClass")

# Process: Rename (15)
arcpy.Rename_management(GIS_USSVC_, HTE_Util_Sewer_Service_All_CX, "FeatureClass")

# Process: Rename (16)
arcpy.Rename_management(GIS_UW_, HTE_Util_Water_Active_CX, "FeatureClass")

# Process: Rename (17)
arcpy.Rename_management(GIS_UWSVC_, HTE_Util_Water_All_CX, "FeatureClass")

# Process: Rename (18)
arcpy.Rename_management(GIS_WF_, HTE_WorkOrders, "FeatureClass")

# Process: Rename (19)
arcpy.Rename_management(GIS_WF_SWID2_, HTE_StormWater_WorkOrders_SWID2, "FeatureClass")

# Process: Rename (20)
arcpy.Rename_management(intersections, HTE_Intersections, "FeatureClass")

# Process: Rename (22)
arcpy.Rename_management(GIS_URSVC_, HTE_Util_Refuse_All_CX, "FeatureClass")

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489423#M16336</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2021-12-11T21:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489424#M16337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow, that is a lot of feature classes to rename.&amp;nbsp; That is messy.&amp;nbsp; Unfortunately, there is no quick way to fix this with so many hard coded values.&amp;nbsp; Two of the easiest options would be to use a dictionary to handle the naming, or to put a try and except block around each of the rename functions.&amp;nbsp; Option A would be to create a dictionary to handle this.&amp;nbsp; For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dictionary = {'old_name' : 'new_name'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you wanted to take this approach you would need to fill in just the names of the old feature class, then the name of the new feature class inside the dictionary variable.&amp;nbsp; This is the more pythonic way...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, os arcpy.env.workspace = ws = r'G:\CamarilloGIS\Databases\GeoDatabases\HTE.gdb'&amp;nbsp; # put all the values in here&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'old' : 'new' dictionary = {GIS_CE_' : 'HTE_CodeEnforcement', 'GIS_BP_' : 'HTE_BuildingPermits', ...etc...}&amp;nbsp; # this will loop thru the whole gdb and change any names that are in the dictionary variable for fc in arcpy.ListFeatureClasses(): &amp;nbsp;&amp;nbsp;&amp;nbsp; if fc in dictionary: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; old = os.path.join(ws,fc) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new = os.path.join(ws,dictionary[fc]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(old, new, "FeatureClass") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Renamed %s to %s' %(fc, dictionary[fc]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Could not rename %s' % old&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't feel comfortable with that, the easier way would be to put every occurrence of the rename_management tool inside of a try\except block:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;try: &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(GIS_BP_, HTE_BuildingPermits, "FeatureClass") except:&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Could not find feature class' &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try: &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(GIS_CE_, HTE_CodeEnforcement, "FeatureClass") except:&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Could not find feature class'&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; etc........&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way you do this it will be time consuming.&amp;nbsp; That is one of the downsides of exporting models to Python script- it will hard code everything.&amp;nbsp; I am not sure either of these will be saving you any time but both should work if you still want to go the python route.&amp;nbsp; I am curious as to what is crashing model builder though.&amp;nbsp; Maybe you have misspelled one of the feature classes in your model?&amp;nbsp; I would take a look at that before trying either of the above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: after reading your first post again, it may be worth it to try the first method and create a dictionary if this will need to be done on a daily basis.&amp;nbsp; You can always add/change/remove items in the dictionary whenever you need to.&amp;nbsp; Then you can set this script to run as a scheduled task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 22:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489424#M16337</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-04T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489425#M16338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for trying Caleb.&amp;nbsp; I think I will just refine the model instead of trying to recode everything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 23:24:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489425#M16338</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-03-04T23:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489426#M16339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for trying Caleb.&amp;nbsp; I think I will just refine the model instead of trying to recode everything.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There may be something in Model Builder that is similar to the try\except; I do not use it too much so I am not sure.&amp;nbsp; I think this should work though. Open up a new IDLE and go to File &amp;gt; New Window and paste this code (be sure to save the script with a .py extension):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os
arcpy.env.workspace = ws = r'G:\CamarilloGIS\Databases\GeoDatabases\HTE.gdb'

namedict = {'GIS_BP_': 'HTE_BuildingPermits','GIS_CE_': 'HTE_CodeEnforcement',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_LX_': 'HTE_LX_LocPoints_All','GIS_OL_': 'HDL_BusinessLicense_OL',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_LX_Active_': 'HTE_LX_Active_LocPoints','abc': 'HTE_ABCLicenses',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_PZ_': 'HTE_Planning_Zoning','GIS_UA_': 'HTE_UtilitiesAll_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_TSI_': 'SQL_TrafficSignInv','GIS_UF_': 'HTE_Util_Fireline_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_UL_': 'HTE_Util_Landscape_CX','GIS_UR_': 'HTE_Util_Refuse_Active_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_US_': 'HTE_Util_Sewer_Active_CX','GIS_USSVC_': 'HTE_Util_Sewer_Service_All_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_UW_': 'HTE_Util_Water_Active_CX','GIS_UWSVC_': 'HTE_Util_Water_All_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_WF_': 'HTE_WorkOrders','GIS_WF_SWID_': 'HTE_StormWater_WorkOrders_SWID',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'intersections': 'HTE_Intersections','GIS_URSVC_': 'HTE_Util_Refuse_All_CX',}

# Loop thru gdb
for fc in arcpy.ListFeatureClasses():
&amp;nbsp;&amp;nbsp;&amp;nbsp; if fc in dictionary:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; old = os.path.join(ws,fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new = os.path.join(ws,dictionary[fc])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(old, new, "FeatureClass")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Renamed %s to %s' %(fc, dictionary[fc])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Could not rename %s' % old
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489426#M16339</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T21:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489427#M16340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Caleb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I get this error.&amp;nbsp; How do I define the dictionary?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:/01Working_Directory/Python/HTErenamePythontest", line 17, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if fc in dictionary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NameError: name 'dictionary' is not defined&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 16:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489427#M16340</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-03-05T16:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489428#M16341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Caleb,&lt;BR /&gt;&amp;nbsp; I get this error.&amp;nbsp; How do I define the dictionary?&lt;BR /&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "C:/01Working_Directory/Python/HTErenamePythontest", line 17, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if fc in dictionary:&lt;BR /&gt;NameError: name 'dictionary' is not defined&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whoops, that was my fault, I had namedict for the name of the dictionary ( I copied and pasted the code from the first example I gave after creating the dictionary).&amp;nbsp; Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os
arcpy.env.workspace = ws = r'G:\CamarilloGIS\Databases\GeoDatabases\HTE.gdb'

namedict = {'GIS_BP_': 'HTE_BuildingPermits','GIS_CE_': 'HTE_CodeEnforcement',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_LX_': 'HTE_LX_LocPoints_All','GIS_OL_': 'HDL_BusinessLicense_OL',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_LX_Active_': 'HTE_LX_Active_LocPoints','abc': 'HTE_ABCLicenses',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_PZ_': 'HTE_Planning_Zoning','GIS_UA_': 'HTE_UtilitiesAll_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_TSI_': 'SQL_TrafficSignInv','GIS_UF_': 'HTE_Util_Fireline_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_UL_': 'HTE_Util_Landscape_CX','GIS_UR_': 'HTE_Util_Refuse_Active_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_US_': 'HTE_Util_Sewer_Active_CX','GIS_USSVC_': 'HTE_Util_Sewer_Service_All_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_UW_': 'HTE_Util_Water_Active_CX','GIS_UWSVC_': 'HTE_Util_Water_All_CX',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'GIS_WF_': 'HTE_WorkOrders','GIS_WF_SWID_': 'HTE_StormWater_WorkOrders_SWID',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'intersections': 'HTE_Intersections','GIS_URSVC_': 'HTE_Util_Refuse_All_CX'}

# Loop thru gdb
for fc in arcpy.ListFeatureClasses():
&amp;nbsp;&amp;nbsp;&amp;nbsp; if fc in namedict:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; old = os.path.join(ws,fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new = os.path.join(ws,namedict[fc])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(old, new, "FeatureClass")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Renamed %s to %s' %(fc, namedict[fc])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Could not rename %s' % old
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489428#M16341</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T21:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489429#M16342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still no dice and I can't figure out why.&amp;nbsp; This is why I use a batch file to open up ArcCatalog and run modelbuilder, its much easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 20:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489429#M16342</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-03-05T20:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489430#M16343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Still no dice and I can't figure out why.&amp;nbsp; This is why I use a batch file to open up ArcCatalog and run modelbuilder, its much easier.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting...What error message were you getting?&amp;nbsp; I made a replica of your geodatabase in the exact same location&amp;nbsp; on my G: drive and executed the same code I posted above and it worked perfectly (Maybe I had your path name wrong?).&amp;nbsp; I have attached screenshots of the whole process below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22400[/ATTACH][ATTACH=CONFIG]22401[/ATTACH][ATTACH=CONFIG]22402[/ATTACH][ATTACH=CONFIG]22403[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 13:17:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489430#M16343</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-06T13:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489431#M16344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a model which will pull 30 features from a database and a second model which will perform a feature class rename on these 30 different features.&amp;nbsp; This is done on a daily basis.&amp;nbsp; Sometimes one of the names will change or a feature won't be pulled in for some reason.&amp;nbsp; &lt;BR /&gt;&amp;nbsp; The problem is that when the rename model is running if it can't find a feature it will error the entire model instead of ignoring the error and skipping to the next feature to rename.&amp;nbsp; None of the processes have preconditions.&amp;nbsp; &lt;BR /&gt;Is their a way I can tell the model to ignore errors and move on if it can't find a feature?&amp;nbsp; A green error instead of a red one?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way I can think to do this is to use the Calculate Value tool to do the rename and have it return a message.&amp;nbsp; Calculate Value will print out the function results to geoprocessing messages as the model runs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course this involves writing a small Python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm assuming you have two model elements "From FC" and "To FC" with the names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calculate Value tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression: FCRename(r"%From FC%",r"%To FC%")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def FCRename(from,to):
&amp;nbsp; import arcpy
&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(from,to)
&amp;nbsp;&amp;nbsp;&amp;nbsp; return "rename %s to %s success!" % (from,to)
&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; return "rename %s to %s failed" % (from,to)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(note, you can pass as many arguments to the function as you want, or put the dictionary and for loop inside the Calculate Value if you want.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489431#M16344</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T21:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489432#M16345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a model which will pull 30 features from a database and a second model which will perform a feature class rename on these 30 different features.&amp;nbsp; This is done on a daily basis.&amp;nbsp; Sometimes one of the names will change or a feature won't be pulled in for some reason.&amp;nbsp; &lt;BR /&gt;&amp;nbsp; The problem is that when the rename model is running if it can't find a feature it will error the entire model instead of ignoring the error and skipping to the next feature to rename.&amp;nbsp; None of the processes have preconditions.&amp;nbsp; &lt;BR /&gt;Is their a way I can tell the model to ignore errors and move on if it can't find a feature?&amp;nbsp; A green error instead of a red one?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way I can think to do this is to use the Calculate Value tool to do the rename and have it return a message.&amp;nbsp; Calculate Value will print out the function results to geoprocessing messages as the model runs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course this involves writing a small Python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm assuming you have two model elements "From FC" and "To FC" with the names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calculate Value tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression: FCRename(r"%From FC%",r"%To FC%")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def FCRename(from,to):
&amp;nbsp; import arcpy
&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_management(from,to)
&amp;nbsp;&amp;nbsp;&amp;nbsp; return "rename %s to %s success!" % (from,to)
&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; return "rename %s to %s failed" % (from,to)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note, you can pass as many arguments as you want. The "r" preceding the strings is important to make sure full path backslashes get interpreted right.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489432#M16345</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T21:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore errors instead of stopping in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489433#M16346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Interesting...What error message were you getting?&amp;nbsp; I made a replica of your geodatabase in the exact same location&amp;nbsp; on my G: drive and executed the same code I posted above and it worked perfectly (Maybe I had your path name wrong?).&amp;nbsp; I have attached screenshots of the whole process below.&lt;BR /&gt;&lt;BR /&gt;[ATTACH=CONFIG]22400[/ATTACH][ATTACH=CONFIG]22401[/ATTACH][ATTACH=CONFIG]22402[/ATTACH][ATTACH=CONFIG]22403[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it.&amp;nbsp; Thank you Caleb.&amp;nbsp; User error on starting the python script, but it works now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 16:40:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/ignore-errors-instead-of-stopping-in-modelbuilder/m-p/489433#M16346</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-03-11T16:40:37Z</dc:date>
    </item>
  </channel>
</rss>

