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)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.