# Finish Floor with Door

**URL:** <https://forum.dynamobim.com/t/finish-floor-with-door/53028>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [July 16, 2020, 6:13am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028 "2020-07-16T06:13:50Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 6:13am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/1 "2020-07-16T06:13:51Z")

</div>

Hello ,

I’m new at Dynamo. I am trying to draw Finish Floor tiles.As in the screenshot,  
I want to create tiles in 3 rooms by considering the directions of the doors.  
Is it possible?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/a/6a4bf761ad73209549daa80698d64ad3dfcff576.png)

I request your help.

Thank you.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [July 16, 2020, 6:32am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/2 "2020-07-16T06:32:30Z")

</div>

Hi,  
Welcome to the forum  
Look here

> [@Selecting doors and windows from room X to room Y](https://forum.dynamobim.com/t/selecting-doors-and-windows-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…

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 6:40am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/3 "2020-07-16T06:40:24Z")

</div>

Thanks Marcel,I’m looking at. They talked a lot about the subject.I will return. 👋

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 7:27am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/4 "2020-07-16T07:27:38Z")

</div>

Hi Marcel,I tried one of them but I couldn’t succeed.I forward the screenshot.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/7/b79bc3fc9c5b0e6ce14d3d762460a4b0267312c2.png)

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 7:30am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/5 "2020-07-16T07:30:12Z")

</div>

> [@Selecting doors and windows from room X to room Y](https://forum.dynamobim.com/t/selecting-doors-and-windows-from-room-x-to-room-y/40577/15):
>
> Revised Revit (made a few edge case conditions and removed unnecessary geometry/elements so it’d post to the forum): [FloorByRoomAndThresholds-ComplexifiedGeometry.rvt](https://forum.dynamobim.com/uploads/short-url/z71VbUcIU8DwU5yJcYAhiKZ6iIs.rvt) (3.8 MB) Revised dyn: [FloorByRoomAndThresholds - AnotherMethod.dyn](https://forum.dynamobim.com/uploads/short-url/aVmV0nZ2Cityd5vndoiz3PvTTi0.dyn) (101.3 KB) Might be able to simplify that a bit more if you spend some time on it, perhaps using some in-line design script in place of some of the longer strings of nodes. Key aspect was remembering that you’re w…

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 7:31am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/6 "2020-07-16T07:31:16Z")

</div>

I used this Dynamo scripts  
[FloorByRoomAndThresholds - AnotherMethod.dyn](https://forum.dynamobim.com/uploads/short-url/aVmV0nZ2Cityd5vndoiz3PvTTi0.dyn)

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [July 16, 2020, 7:50am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/7 "2020-07-16T07:50:35Z")

</div>

It usually works better to get help here when you post an image of your graph after you have hit the run button. If errors show up, we want to know what the error says.  
Maybe @Laura_BIMChick can give an update on this graph.

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 7:54am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/8 "2020-07-16T07:54:08Z")

</div>

You’re right, Marcel,I’am adding.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/9/59cd38bbd466cf50e48a2d8136f47ff4203c896c.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [July 16, 2020, 9:15am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/9 "2020-07-16T09:15:26Z")

</div>

> [@DynaGirlBIM](#):
>
> I want to create tiles in 3 rooms by considering the directions of the doors.

 ![roomTiles_2020-07-16_02-43-52](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0f647b7483ec4115030e46f6940542671da0abb6.png)  
[roomTiles.dyn](https://forum.dynamobim.com/uploads/short-url/4EieR7wyXwvajImbKHk9ue37BCr.dyn) (89.5 KB)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 16, 2020, 9:15am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/10 "2020-07-16T09:15:54Z")

</div>

What does the error say? Please expand the previews of the nodes which connect to the node that is throwing out the error.

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 9:35am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/11 "2020-07-16T09:35:11Z")

</div>

Hİ Jacob,  
I forward the screenshot. The error starts here.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6e95ab4de28819026df339642bb0cfecdcf1bfac.png)

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 9:38am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/12 "2020-07-16T09:38:58Z")

</div>

> [@DynaGirlBIM](#):
>
> want to create tiles in 3 rooms by considering the directions of the doors.

Hi Vikram  
,Tile placement is great!  
But I want to place a floor. I have to find my flooring limits according to the directions of the doors and lay floors on these limits.

Thanks for feedback 👍

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 9:42am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/13 "2020-07-16T09:42:22Z")

</div>

Hi Jacob,I add the Revit model I worked with. Thank you.

Jacob[Room\_Floor\_Test.rvt](https://forum.dynamobim.com/uploads/short-url/vhBDvtcCjrWR5aDz1elaH3zD5x2.rvt) (1.7 MB)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 16, 2020, 10:41am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/14 "2020-07-16T10:41:42Z")

</div>

Try adding a new line to this code block of `category.Name@L2;` and preview that output.

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 16, 2020, 12:12pm UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/15 "2020-07-16T12:12:24Z")

</div>

> [@jacob.small](#):
>
> Try adding a new line to

Jacob,  
I added, but it looks empty. ☹

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/a/ba43cfdee80f20143e553435b5935f82c8f009da.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 16, 2020, 12:48pm UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/16 "2020-07-16T12:48:12Z")

</div>

Try without the @L2 bit.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [July 16, 2020, 1:54pm UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/17 "2020-07-16T13:54:04Z")

</div>

> [@DynaGirlBIM](#):
>
> But I want to place a floor. I have to find my flooring limits according to the directions of the doors and lay floors on these limits.

Like this, I suppose

 ![roomFloor_2020-07-16_07-22-09](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0f71be6a7bc2182d3936a2fe72c0244276ee4e5b.png)  
[roomFloor.dyn](https://forum.dynamobim.com/uploads/short-url/5fxiKZ1powbvXXoMNJkqOlLFmlY.dyn) (73.8 KB)

---

<div class="post-metadata">

**Author:** ![DynaGirlBIM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dynagirlbim/32/98488_2.png) [@DynaGirlBIM](https://forum.dynamobim.com/u/DynaGirlBIM)\
**Post date:** [July 17, 2020, 6:25am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/19 "2020-07-17T06:25:20Z")

</div>

Hello Vikram,

Thank you. It looks great. 👍  
You did a great job.  
See you. 👋

Mandy 🙏

---

<div class="post-metadata">

**Author:** ![hmidahbb](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@hmidahbb](https://forum.dynamobim.com/u/hmidahbb)\
**Post date:** [February 21, 2021, 11:43am UTC](https://forum.dynamobim.com/t/finish-floor-with-door/53028/20 "2021-02-21T11:43:57Z")

</div>

thank you Sir @Vikram_Subbaiah  
i just need your help to enhance this script taking in considration this points  
set floor finish by room  
2nd this floor contain area above doors of room  
3rd floor need to be created whatever the opening side of doors  
4th this floor created also when this contation multiple wall layers speratly dos’nt matter orientation
