3

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

0

1 Answer 1

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 and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.