Filter structural beams from selected elements

Hi all,
I’m trying to select a section of the structure and filter the structural framing out of those selected elements. I’m new to Python. Can anyone help please?

Post what you have so far.

Hi @BuehlerEngineering ,

Have you tried the node List.RemoveIfNot?
Also, to help yourself, you could use the node Object.Type to find out the exact type as string.

Thanks for the reply!
My plan is to learn Python so don’t need to use Node’s anymore.

I am not too familiar with all the classes but you probably need a for loop to loop through all the items and only append them when they are of the structural framing type.