Hello,
I am trying to get all the surrounding walls of my spaces/rooms within a certain zone to analyze whether the correct Wall-Family has been used and their Fire Rating is correct.
Sadly I can't manage to get the walls. I tryed using this code:
https://boostyourbim.wordpress.com/2012/12/04/the-elements-that-bound-a-room/
but sadly the .Element Property was removed for Revit 2021.
Please help. I bet it is a very easy trick that I am just not seeing right now.
Solved! Go to Solution.
Solved by hakan.supurkeci. Go to Solution.
Hi,
Element e = document.GetElement(boundSeg.ElementId);
Can you try this ?
Best Regards,
Thanks @hakan.supurkeci
I do get all the surrounding walls now.
I would invite you to a beer if I could.
Can't find what you're looking for? Ask the community or share your knowledge.