Filter by category

i want to filter selected elements by category. there was a node of CAAD_RWTH but it doesn’t work my dynamo version. it’s 1.3.3.0.

thank you all.

data shapes package has several nodes that will do that for you.
Actually, there are several packages with these types of tools.

1 Like

Use the Categories node, then All Elements of Category. Does this work for your needs?

Element Get Category (clockwork), ==, and Filter By Bool Mask should do the trick.

2 Likes

For some reason the Element.GetCategory node doesn’t work. I wrote a Python node to filter selected elements (I want to get Text Notes from selection):

selected = UnwrapElement(IN[0])
textNote =

for i in selected:
if i.Category.Name == “Text Notes”:
textNote.append(i)

OUT = textNote

2 Likes

There is a YouTube video from BIMTAMIN

BIMTAMIN - Filter Elements by Category