input = arcpy.GetParameterAsText(0) #It should be working the same in a python toolbox or it should be something similar
if the script works : output = "job done" else : output = "job not completed" arcpy.SetParameterAsText(1, output)
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.