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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.