fcSplit = outFeatureClass.split(sep) fcName = fcSplit[2]
Can you post input parameters and exception you get?At the moment I would guess problem in this part:fcSplit = outFeatureClass.split(sep) fcName = fcSplit[2]If sep doesn't appear in outFeatureClass there is no index [2] for fcSplit.RegardsArek
I unable to get this kind of error. Everything seems to be fine. My only idea would by removing try: except: declaration and check what kind of exception is raised and from which line.Exception is handled so it must be rise somewhere in try: section.Cheers.AM
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.