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:
-
Try
Element.Categorybetween the==node and theroom boundariesnode, and then skip theall elements of categorynode. The resulting boolean list should work as the mask into a List.FilterByBoolMask node. -
You wire the
room boundariesnode into the list input of aList.RemoveIfNotnode. The type input should be“Wall”.
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
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
Thank you @sovitek and @jacob.small for your time. got it resolved!!!




