# Floors by room and include area under door

**URL:** <https://forum.dynamobim.com/t/floors-by-room-and-include-area-under-door/40496>\
**Category:** Revit\
**Created:** [September 10, 2019, 2:32pm UTC](https://forum.dynamobim.com/t/floors-by-room-and-include-area-under-door/40496 "2019-09-10T14:32:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [September 10, 2019, 2:32pm UTC](https://forum.dynamobim.com/t/floors-by-room-and-include-area-under-door/40496/1 "2019-09-10T14:32:06Z")

</div>

I made this dynamo that generates floors by room boundary. The rooms that have the floor generated are selected by a user with an input form.  
It works great but It doesn’t generate the floor under a door opening because the room boundary stops at the door.  
Is there a workaround to also generate the part under the door?

What it generates right now:  
 ![Capture12](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/1/31ad9b3906f65570aecb14e6aebc41d7f9dbbd46.png)

What I want it to generate:  
 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/125535bd8002a2ef9c0b2a07d82643334ba9bd82.png)

Dynamo: [test2.dyn](https://forum.dynamobim.com/uploads/short-url/4AOuJiILZR18CodboL2JXSYBwPA.dyn) (67.7 KB)

 ![Capture13](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/d/7d555b5dea4f704d5d0b03bf405a2361d9f8f96c.png)

EDIT//EXTRA: if the door changes direction I also want the floor to change, or is that too much to ask? 😛

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [September 12, 2019, 9:15am UTC](https://forum.dynamobim.com/t/floors-by-room-and-include-area-under-door/40496/2 "2019-09-12T09:15:26Z")

</div>

I ended up solving it somewhat myself, still need a fix for selecting door from room, to room…

> [@Selecting doors and windows from room X to room Y](https://forum.dynamobim.com/t/select-door-from-room-x-to-room-y/40577):
>
> Hey all, I build up my current dynamo from the work of @seandburke [Script works just fine in a test... not a real project](https://forum.dynamobim.com/t/script-works-just-fine-in-a-test-not-a-real-project/31631) I also added a user interface to let the user choose which rooms and what floor type he wants to generate. Here is the dynamo: [test3.dyn](https://forum.dynamobim.com/uploads/short-url/bepAZZ15Shx6eSOcoN5w7lV4W5x.dyn) (199.2 KB) What I would like to achieve is that when creating the geometries for the floor including the part under the doors, that it would only select the doors going outwards to another room, like this: [Capture] Becau…
