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
Ingelogde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Maak gratis een account aan.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.