James,The error indicates you are running the python script out of process. Could you try checking on the property of the script tool to run the Python script in process. I don't see anything that stands out for why it would fail out of process but this would be worth a try.
output = arcpy.GetParameterAsTest(1)
output = arcpy.GetParameterAsText(1)
env.workspace = "I:\GIS"
env.workspace = "I:/GIS"
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.