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?
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.