Select the ceiling(s) in a room?

Is there a way for a room to detect the ceilings in it?

I want to create a list of the ceilings per room and then use a parameter on the ceilings to build a value for a parameter for the room.

For example, room has two ceilings in it. Get the the first ceiling parameter and then the second and combine the strings with a delimiter and push that string into the corresponding room param.

But, first thing I need to do is build the list of ceilings per room. Haven’t yet found a way for a room to detect the ceilings in it.

Maybe this can help, it a bit different from what you asked cause this one writes room data to the ceilings
but the most important logic is there

Hmmmm…yes. This could work for getting my lists synced up. I’ll check it out.

Thanks!

Keep me posted.
:love_you_gesture: :metal:

Problem with GetSurroundingElements node is it returns every ceiling even close to the room. It’s giving me 5 or more ceilings per room. Need to somehow filter to just ceiling that are actually in the room, not all surrounding ceilings. In search of other options! :slight_smile:

Make sure your Room have the correct height, and adjust the Tolerance option in that node
Try making the Tolerance input a slider and set the upper value of the Number Slider node

I’ve run the graph with the tolerance at everything from .0001 to 5. At .0001 I still get 3 or more ceilings. I’m not sure what the tolerance numbers do. I don’t know what the sensitivity is.

My rooms seem to be set at 10’, which is the ceiling height.


ceilingInRoom.dyn (27.5 KB)

3 Likes

Thanks, @Vikram_Subbaiah. That seems to do the trick nicely!

1 Like

Thank you for the solution @Vikram_Subbaiah, it’s been great help. I tweaked it a bit to read from existing views, and it has worked well. I’m quite new to Dynamo and I apologise if this sounds silly, but I am wondering if there’s way to get this new list into a schedule, either into Revit or into Excel?

Hello! @Vikram_Subbaiah can probably answer this better, but here’s how I extended the graph he offered to assign the ceiling Mark values to a custom Room parameter that can then be leveraged in a Room schedule the same way you would use Area, etc.

1 Like

Hi, thank you! This should solve my problem. I am still waiting to get access to custom nodes, but I will let you know once I try it out. Thanks!