List converted to element input?

Hi,

I’m wondering if anyone can help me solve this. I’m quite new to Dynamo so still figuring things out.

I have these project instance parameters (on the right) that need to be filled with specific data.

I want to select all door families containing “Sliding” and use them as the “element” input for the “Set Parameter by Name”

I get to the list of doors with sliding but then when I input into “element” I get this warning.

“Element.SetParameterByName expects argument type(s). (Revit.Elements.Element, string, var), but was called with (string, string, string). NonOverloadMethodResolutionError.html”

Any help greatly appreciated as I need to do this for many other categories with specific attributes.

Hi @L.Molendijk and welcome to the forum :wink: try as here

1 Like

This worked!! Thank you very much :smiley: