Directshape.bygeometry with array

does anybody know, what I am doing wring with this dynamo script:

Can you tell us what the error message is?

1 Like

Warning: One or more of the input types are not matching. Couldn’t find a version of ByGeometry that takes arguments of type (__array,Revit.Elements.Category,__array,__array)

category should be a list too maybe?

I believe the material input needs to be the actual material object, not a string.

1 Like

That’s my guess as well here. Give it a shot and see if that fixes things.

Yes that seems to help. Thanks