Getting walls from Room Boundaries - Dynamo

I am trying to extract walls of a room. Using room.boundaries, I could get all teh elements like walls, floor etc. How to get/filter just walls out of it? And also, in room.boundaries output, I could see a wall geeting detected 2 times. (wall 314319)

Two options:

  1. Try Element.Category between the == node and the room boundaries node, and then skip the all elements of category node. The resulting boolean list should work as the mask into a List.FilterByBoolMask node.

  2. You wire the room boundaries node into the list input of a List.RemoveIfNot node. The type input should be “Wall”.

1 Like

I tried both the options, none of them seems to work. please lemme know if I am doing something wrong? thanks!

Hi try with list.contain…and a list.flatten or a list.first.item before feed in…and lacing longest

or

2 Likes

ps guess the reason you see a wall 2 times is every time have a wall connect a wall in your room, thats how revit handle it here is what goin on…hope it make sense

2 Likes

Thank you @sovitek and @jacob.small for your time. got it resolved!!!

1 Like