3

Can you give an example of how to use a multivalue output parameter with ArcPy?

0
4

Bruce Nielsen provided this answer at at a no longer reachable thread on the old ArcGIS Discussion Forum and it seems to have been accepted there.

Since a multivalue input parameter is a text string delimited by semicolons, I would think the output parameter would be the same. In theory, you should be able to create the appropriate output with the following change to the example code:

arcpy.SetParameter(3, ';'.join(listOfClippedOutputLayers))
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.