Hi, I was wondering if there is a way to get all the Revit elements that are within a room. (sinks, furniture, windows etc.) and filter the by category and such? I’m creating some pretty long workarounds but assuming there must already be a given solution.
Thanks!
Thanks Japhy. I had this approach but trying to get it the other way around… since I’m not sure what is contained within a room, I can’t predefine it. I would like to ask the question: for a given room, which elements does it contain, and then filter it from there.
Thnaks!
Geometry based solutions are also possible…
Thanks Kike! will check it out and let you know!
It works good! However, imagine the door is open inside the room (what we see in 2D door graphics with an arc in a plan). Is it possible to find that door arc geometry inside the room like other fixtures through the Bounding Box or any other way? I really appreciate your help!
Is it possible to make it closed? I mean solid door-shaped geometry like a brep? Thank you!
This is close. what I mean is just a door shape. Not square box shape. That means one corner should have that arc! so that I find a door-shaped solid geometry. Sorry for asking a lot!
I’m not quite following. Does turning on the Calculation Point provide the data you are looking for?
With your script, I found the door as the green outline (one end is open). I want it to be closed, as I have drawn with a red line.
Can you provide more detail of the workflow you are trying to accomplish? Thanks