Python list to MultiValue output parameter

Discussion created by mgfasel on Apr 21, 2011
Latest reply on May 22, 2012 by nahmed-esristaff
Hello, how can I transfer objects of a Python list into a MultiValue output parameter?

The code I've written so far (below) put a complete list of layers objects in one row of the MultiValue output parameter but I'd like that each layer to be defined in one particular row:

listOfClippedOutputLayers = []

listInputFC = allInputFC.split(";")

for inFC in listInputFC:
    (inPath, inFC) = os.path.split(inFC)

    # [...] Clipping

    layer = arcpy.MakeFeatureLayer_management(clippedFC, clippedFCLayer)


arcpy.SetParameter(3, listOfClippedOutputLayers)

Does anyone know how to do this "transfer"?

Thanks for your help!