Flattened List giving Array Rrrors

I’m just trying to make a column pattern by removing some columns but for some reason flattening the list gives the below error. I must be passing something to the node it doesn’t like but I can’t spot it. Any suggestions? Thanks,

Error: Warning: One or more of the input types are not matching. Couldn’t find a version of ExtrudeAsSolid that takes arguments of type (__array,Autodesk.DesignScript.Geometry.Vector,__array)

(Sorry for the large image. I’m not sure how to config it as a thumbnail since the forum upgrade.)

Hi Blair,

I think your Code Block is feeding a nested list into the distance input of the Curve.ExtrudeAsSolid node. And that won’t work with your flattened list of Circles.

However, since you are Dropping items from the flattened list, you’ll need to drop the matching items from the extrusion heights as well…

Cheers,

David

1 Like

Ah. So I haven’t been diligent in checking all my different lists into the node. I will run this down at lunch.