# Room number to all elements

**URL:** <https://forum.dynamobim.com/t/room-number-to-all-elements/93608>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [September 8, 2023, 12:13pm UTC](https://forum.dynamobim.com/t/room-number-to-all-elements/93608 "2023-09-08T12:13:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaela.souckovaT8E](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@michaela.souckovaT8E](https://forum.dynamobim.com/u/michaela.souckovaT8E)\
**Post date:** [September 8, 2023, 12:13pm UTC](https://forum.dynamobim.com/t/room-number-to-all-elements/93608/1 "2023-09-08T12:13:54Z")

</div>

Hello,

I need to insert a room number into all the elements. I only know categories like “Furniture, Electrical equipment,…” But I need floor, ceiling and other. Can you help me? I send my script.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/245f2736fbcc18826aa0bdc88f8d3de7c5e011cb.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/4/0435ae309df4b75369583551b2c37b8558629b95.png)

This rooms have Base Offset -150, so floors are in rooms.

Thanks

---

<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:** [September 8, 2023, 1:19pm UTC](https://forum.dynamobim.com/t/room-number-to-all-elements/93608/2 "2023-09-08T13:19:17Z")

</div>

Install the right version of ArchiLab and you can utilize the “GetRoomATPoint” node. It takes any point (ie the mid point of a floor, or 3" off the face of a wall) and returns the room at that point (assuming there is one).

Be careful though, as some floors may have a center point outside of their sketch, and others may span multiple rooms. Sampling multiple points near the perimeter curves is likely a good call rather than one point as this can help mitigate such issues.
