I want to output some variables for further use in ModelBuilder, however the parameters always end up empty. What's wrong?
The message window from the modeler already shows everything at level 0. Returning values also doesn't work. However what does is
arcpy.SetParameter(2,PR_Out) arcpy.SetParameter(3,PID_Out)
nothing is returned by the function, you could build up a msg, then use it as a return object to print when it exits the function
Also
GetMessages—ArcGIS Pro | Documentation
doe that appear anywhere in your script?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.