Cant extract element from element types

Warning: ElementQueries.OfElementType expects argument type(s) (Type), but was called with (Revit.Elements.Element[]).

From element.element type I need the instance back how to retrieve it.

1 Like

I’m not sure what you’re trying to do, posting a bit more could help.

Try this maybe:
image

1 Like

All Elements of Type requires the actually class as the input, not the specific object. I’m not sure how you’re getting your filtered list of instances, but you will likely have to compare your list of AssemblyTypes with a list of all AssemblyInstances.

Thank you Alien. I got the result.