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


1 Answer 1


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))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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