Finding deleting certain rooms


I’m new to Dynamo but not new to revit.

In some project when i create rooms automaticly, i find some rooms in small area’s which are not actual rooms.
I thought it would come in handy to delete those small rooms with Dynamo.
I searched around to figure how to solve this problem, but didn’t find a solution.
Dynamo should be able to search and delete any room smaller than 3m2.
I don’t see how i can filter those, nor delete those.

Maybe someone can help me with this.



You can filter by area with these 3 nodes:

1 Like

And delete with tool.eraser.

Thank you both!

This helped me to reach my goal!