# Update Doors ToRoom value

**URL:** <https://forum.dynamobim.com/t/update-doors-toroom-value/107148>\
**Category:** Uncategorized\
**Created:** [January 10, 2025, 11:12am UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148 "2025-01-10T11:12:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardoAUXBF](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@ricardoAUXBF](https://forum.dynamobim.com/u/ricardoAUXBF)\
**Post date:** [January 10, 2025, 11:12am UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/1 "2025-01-10T11:12:41Z")

</div>

I am developing a door renumbering script using Clockwork or Rhythm for a large project. The challenge lies in addressing doors that swing both into and out of rooms. I have already updated the door schedule to ensure that outward-swinging doors are correctly associated with their respective room numbers. However, when using the Doors.Rooms node in Dynamo, it still retrieves the original room data instead of reflecting my corrections. How can I make Dynamo recognize and read the updated room associations?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [January 10, 2025, 1:05pm UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/2 "2025-01-10T13:05:16Z")

</div>

@ricardoAUXBF ,

that happens when you run the script the secound time, it still remains the old data. when you open/close dynamo. When you run it, it should work!

---

<div class="post-metadata">

**Author:** ![ricardoAUXBF](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@ricardoAUXBF](https://forum.dynamobim.com/u/ricardoAUXBF)\
**Post date:** [January 10, 2025, 6:25pm UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/3 "2025-01-10T18:25:12Z")

</div>

Unfortunately, when I try Clockwork, it outputs an empty list. When I use Rhythm, it outputs the incorrect list (old schedule). In the case of Clockwork I’ve been unable to find the reason, might be Ironpython version or Python3. It would be the best option because it outputs both toroom and fromroom. But instead, its null. However Rhythm seems to find a room attribute, but it doesn’t match the schedule.

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

---

<div class="post-metadata">

**Author:** ![aaron\_rumple](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaron\_rumple](https://forum.dynamobim.com/u/aaron_rumple)\
**Post date:** [January 10, 2025, 7:45pm UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/4 "2025-01-10T19:45:16Z")

</div>

…that’s why I moved my door numbering and flipping to a [pyRevit](https://discourse.pyrevitlabs.io/) save/print event. So no one has to think about it ever.

---

<div class="post-metadata">

**Author:** ![ricardoAUXBF](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@ricardoAUXBF](https://forum.dynamobim.com/u/ricardoAUXBF)\
**Post date:** [January 10, 2025, 8:41pm UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/5 "2025-01-10T20:41:47Z")

</div>

I have created different families for each door. One with the point calculation reversed, so that the schedule would append the “toroom” correctly since the beginning. Nonetheless, Dynamo still outputs the wrong room number

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

---

<div class="post-metadata">

**Author:** ![ricardoAUXBF](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@ricardoAUXBF](https://forum.dynamobim.com/u/ricardoAUXBF)\
**Post date:** [January 10, 2025, 8:58pm UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/6 "2025-01-10T20:58:41Z")

</div>

Alternatively, I have troubleshot the Clockwork compatibility problem. I was able to find a version of IronPython that worked with my version. That solved the issue.

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

---

<div class="post-metadata">

**Author:** ![Revit\_Noob](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Revit\_Noob](https://forum.dynamobim.com/u/Revit_Noob)\
**Post date:** [January 14, 2025, 3:35am UTC](https://forum.dynamobim.com/t/update-doors-toroom-value/107148/7 "2025-01-14T03:35:31Z")

</div>

can you share the solution?
