Error handling in ModelBuilder?

3476
4
02-11-2011 09:44 AM
JayJohnson
New Contributor III
Is there a way to handle non-critical errors in ModelBuilder?  I have a model that includes the CADtoGDB tool and this tool generates errors related to import of the annotation.  The tool finishes, but this error stops the rest of the model from running.  I'd like to be able to allow the model to continue after encountering this extraneous error.
0 Kudos
4 Replies
JayJohnson
New Contributor III
Ended up converting the Model into a script, where I could manage the error handling...
Jay
DavidLight
New Contributor III

Jay, Isn't CADtoGDB a Model only function that is not available as a stand alone python script?  I am calling my model from within the python script.  Are you doing the same?

Thanks

David

0 Kudos
JayJohnsonWashoeCounty
Occasional Contributor III

David,

That was 8 years ago.  No idea what I was doing that long ago...

Sorry.

Jay

Jay
Washoe County GIS
0 Kudos
DavidLight
New Contributor III

Thanks

David Light

423-276-6569

0 Kudos