# Create floor in room schedule floor can show correct room name and number

**URL:** <https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [March 12, 2026, 3:16am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171 "2026-03-12T03:16:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pharpoom.pYU4WR](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pharpoom.pYU4WR](https://forum.dynamobim.com/u/pharpoom.pYU4WR)\
**Post date:** [March 12, 2026, 3:16am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/1 "2026-03-12T03:16:29Z")

</div>

**How can I write a Dynamo script so that when I create floors inside rooms, the floor gets (and shows) the correct Room Name and Room Number of the room it belongs to?**  
I’ve tried several approaches but haven’t had success. Has anyone done this? If so, could you share a screenshot of your Dynamo graph/script?

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [March 12, 2026, 5:43am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/2 "2026-03-12T05:43:24Z")

</div>

Hi Pharpoom, welcome 👋  
I’m not sure what you are trying to achieve - are you trying to add room name and number data to a floor element?

Floors elements generally are not related to a room as structural floors and even finishes may be across multiple rooms (such as carpet through an office). Typically the floor finish is stored in the Room instance ‘Floor Finish’ parameter.

So are you looking to automatically find the floor finish associated with a room and update that parameter? This can then be displayed in the Room Tag

If you haven’t done so, please review the following post → [How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)

You could collect all the rooms and see if they intersect/touch with a floor, extract the floor type data and update the Floor Finish parameter. Search the forum for examples and give it a try

---

<div class="post-metadata">

**Author:** ![pharpoom.pYU4WR](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pharpoom.pYU4WR](https://forum.dynamobim.com/u/pharpoom.pYU4WR)\
**Post date:** [March 12, 2026, 6:39am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/3 "2026-03-12T06:39:03Z")

</div>

I’m Sorry for confuse communication. I want to add information in room schedule for prepare floor data such as Finish floor Level offset and I added shared parameter _“Finish Level Manual”_ for fill offset height. After that I Create dynamo script for copy and link _“Finish Level Manual”_ assign to parameter _“Height offset from Level”_ of floor. Next, I create Shared parameter _“Room Name”_ assign in floor category and run dynamo for link information room parameter “name” to _“Room name”_ in floor category that work. **But problem is when I create floor in room the room name of Room and Room name parameter does not correct. In the picture I created floor in room _fff_ but in Room name (shared parameter) show room _bbb_. I think floor can’t match in true room location**. I don’t know to created dynamo script for solve this problem. If you know please share me the dynamo script or picture script path. I will follow your way. Thank you very much for your help.

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

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [March 12, 2026, 8:23am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/4 "2026-03-12T08:23:02Z")

</div>

> [@pharpoom.pYU4WR](#):
>
> But problem is when I create floor

It would help if you showed how you are doing this.

> [@pharpoom.pYU4WR](#):
>
> Next, I create Shared parameter

I would do that prior to doing anything else.

I would do something like this creating `Floors` and populating `Parameters`  
with values from the `Room(s)`.

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

**NB**  
You may need to keep `Levels` and `Lacing` in mind depending on your data structure.

---

<div class="post-metadata">

**Author:** ![pharpoom.pYU4WR](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pharpoom.pYU4WR](https://forum.dynamobim.com/u/pharpoom.pYU4WR)\
**Post date:** [March 12, 2026, 8:49am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/5 "2026-03-12T08:49:12Z")

</div>

Thank you so much. I will try that solution. This is my script for now. I’m a rookie dynamo player.

 ![Floor and Ceiling Level Manual To Room_2026-03-12_03-52-38](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/ffeb0488b01484c0bf80c9f3b85fe1dda5f5d159.png)

---

<div class="post-metadata">

**Author:** ![pharpoom.pYU4WR](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pharpoom.pYU4WR](https://forum.dynamobim.com/u/pharpoom.pYU4WR)\
**Post date:** [March 12, 2026, 9:17am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/6 "2026-03-12T09:17:04Z")

</div>

Thank you for your help. I created script follow this solution but have some problem. When created floor the floor is in the wrong room. How can set floor link in the room?

 ![Screenshot 2026-03-12 160752](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/b/8bad16665d5f5766184a388f63a483bc6bb634bd.png)

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [March 12, 2026, 10:41am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/7 "2026-03-12T10:41:29Z")

</div>

I made a small mistake in my previous graph 🙈.  
Also made a minor improvement getting the `Level` from your `Room` directly.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/7/078c66698f2bbf4256bc49e6ec60c12f8caf473c.png)  
_Old (wrong)_

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/83c379c4785852dd5ac240fe7bb26d01cf694852.png).

**PS**  
Post a screenshot next time with your _preview bubbles_ pinnend 📌,  
so it easier for people to help youi.

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [March 12, 2026, 2:52pm UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/8 "2026-03-12T14:52:23Z")

</div>

You are just pulling a list of all rooms and pulling a list of all floors. You need to sort and filter these lists so they are aligned like a relationship.

You can do this in multiple ways. But I am curious if you want to create the floors with the script or simply want to match already existing floors to the correct room.

---

<div class="post-metadata">

**Author:** ![pharpoom.pYU4WR](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pharpoom.pYU4WR](https://forum.dynamobim.com/u/pharpoom.pYU4WR)\
**Post date:** [May 12, 2026, 3:20am UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/9 "2026-05-12T03:20:43Z")

</div>

Thank you for your help. The problem is I want to create a room schedule and add information of room number floor level and ceiling level offset from floor before create a real floor and ceiling model. So I create a blank room schedule and add room number and information as above. And when I create model and pick the room in to model and run script first time in the picture is work, But when model need to revise adjust room location, when I move or remove room and add to a new location sample in room 101 I add information before when plan change I move room to another space and modify floor and ceiling in to a new space but information in room 101 does not match in the true room 101. In my mind I think floor and ceiling have origin point for specific in room like room calculation point in family but I don’t know how to create dynamo script to solve this and when revised model the room schedule can show the true information in the model.This is my problem if anyone have solution I thank you so much.

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [May 12, 2026, 3:46pm UTC](https://forum.dynamobim.com/t/create-floor-in-room-schedule-floor-can-show-correct-room-name-and-number/114171/10 "2026-05-12T15:46:44Z")

</div>

> [@RevitRobot](#):
>
> You need to sort and filter these lists so they are aligned like a relationship.

> [@RevitRobot](#):
>
> You can do this in multiple ways.

This 👆.

From what i am getting is you want / need to;

1. Collect all the `Rooms` in your project.
2. Pull the data from those `Rooms` and get the `Floors` in those `Rooms`.
3. Push the data back to the respective `Floors`.

[https://forum.dynamobim.com/search?expanded=true&q=Get%20Floors%20in%20Rooms](https://forum.dynamobim.com/search?expanded=true&q=Get%20Floors%20in%20Rooms)  
[To get Floors from Room Boundaries, Archilab and Clockwork](https://forum.dynamobim.com/t/to-get-floors-from-room-boundaries-archilab-and-clockwork/40476).

Things to add / note;

Floors can’t be in multiple `Rooms` (in other words overlap `Rooms`).

> [@pharpoom.pYU4WR](#):
>
> and pick the room in to model

There is no need for this. Unless it is a preference.  
You can push the data from all the `Rooms` to their respective `Floors` in one go.

> [@pharpoom.pYU4WR](#):
>
> In my mind I think floor and ceiling have origin point for specific in room like room calculation point in family

No, they don’t.
