# To and From Room to Door parameter flip

**URL:** <https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268>\
**Category:** Revit\
**Created:** [June 5, 2017, 11:28am UTC](https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268 "2017-06-05T11:28:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kveleva](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kveleva/32/26740_2.png) [@kveleva](https://forum.dynamobim.com/u/kveleva)\
**Post date:** [June 5, 2017, 11:28am UTC](https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268/1 "2017-06-05T11:28:41Z")

</div>

Hi all,

I am looking to grab a bunch of doors that all graphically are correct and flip their ToRooms just in the parameter value that appears in my schedule.

I have tried this on a test project:[flip to and from rooms to doors.dyn](https://forum.dynamobim.com/uploads/short-url/6NmfDceq9s1CSR9TBP5OsqLDxY9.dyn) (10.0 KB)

and there seem to be two problems:

1. the toRoom and fromRoom values that i am getting from this clock work custom nod are not correct; they all just say “room”
2. I can’t really access the toRoom as a door parameter.

fyi in the real project the purpouse of this is to make sure all En-Suite doors belong to the En-suites, even though they open outwards

Any advice would be appriciated!

Thank you!

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [June 5, 2017, 1:30pm UTC](https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268/2 "2017-06-05T13:30:04Z")

</div>

> [@kveleva](#):
>
> the toRoom and fromRoom values that i am getting from this clock work custom nod are not correct; they all just say “room”

Room is a category. You need to add Room.name and room.number to get room numbers and names.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/0/900f4d8f18cc1ec506bf0d3f024a06b38096ee37.png)

---

<div class="post-metadata">

**Author:** ![kveleva](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kveleva/32/26740_2.png) [@kveleva](https://forum.dynamobim.com/u/kveleva)\
**Post date:** [June 5, 2017, 2:45pm UTC](https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268/4 "2017-06-05T14:45:04Z")

</div>

thanks both;  
fortunatelly i am only looking at interior doors;  
That [room.name](http://room.name) nod, it doesn’t look like a package nod, but i can’t seem to be able to find it, does it have another original name?

---

<div class="post-metadata">

**Author:** ![kveleva](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kveleva/32/26740_2.png) [@kveleva](https://forum.dynamobim.com/u/kveleva)\
**Post date:** [June 5, 2017, 2:56pm UTC](https://forum.dynamobim.com/t/to-and-from-room-to-door-parameter-flip/12268/5 "2017-06-05T14:56:42Z")

</div>

Great! I have made it work  
Thank you both very much 😄[flip to and from rooms to doors.dyn](https://forum.dynamobim.com/uploads/short-url/yWr1MIqxFjTpqkXkKDdyqET3jus.dyn) (10.4 KB)
