I wanted to find out if its possible to execute a tool and if the tool has a problem processing a particular feature within a feature class will through an exception, report the feature that it has a problem with, but at least will move to the next feature within the feature class and continue processing.
try: # place your code here for looping through each feature except Exception, e: print "feature error: %s" % e sys.exc_clear()
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.