# Room naming automation in Rhino

**URL:** <https://discourse.pollination.solutions/t/room-naming-automation-in-rhino/4285>\
**Category:** Rhino Plugin\
**Tags:** question\
**Created:** [September 6, 2024, 8:09pm UTC](https://discourse.pollination.solutions/t/room-naming-automation-in-rhino/4285 "2024-09-06T20:09:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![resh](https://discourse.pollination.solutions/user_avatar/discourse.pollination.solutions/resh/32/9937_2.png) [@resh](https://discourse.pollination.solutions/u/resh)\
**Post date:** [September 6, 2024, 8:09pm UTC](https://discourse.pollination.solutions/t/room-naming-automation-in-rhino/4285/1 "2024-09-06T20:09:48Z")

</div>

Hi everyone,

Anyone had success with automating transfer of names from CAD layer into Pollination rooms? The rooms were built from a 2D imported CAD background (unfortunately). I was wondering if there was a workflow people may have used to read texts on Rhino layer and transfer them onto PO room using Grasshopper scripts either in Python or native components.

Thank you.

 ![POroomnaming](https://discourse.pollination.cloud/uploads/default/original/2X/0/0fab213c2144ec435aaf68b97e9ad4bef3cdac9b.jpeg)

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.pollination.solutions/user_avatar/discourse.pollination.solutions/mostapha/32/5761_2.png) [@mostapha](https://discourse.pollination.solutions/u/mostapha)\
**Post date:** [September 6, 2024, 9:34pm UTC](https://discourse.pollination.solutions/t/room-naming-automation-in-rhino/4285/2 "2024-09-06T21:34:53Z")

</div>

Hi @resh, did you try this script? I believe it does what you are looking for.

> [@Automate rooms renaming](https://discourse.pollination.cloud/t/automate-rooms-renaming/3938/8):
>
> I tried the second option, and this script should do it. You will need the Human Grasshopper plugin. [Set display name by text.gh](https://discourse.pollination.solutions/uploads/short-url/exrKuL6hw9w2LWnewui4N4sXRgk.gh) (23.7 KB) [rooms-with-names.3dm](https://discourse.pollination.solutions/uploads/short-url/pzjbeYWkZXFWKD2bvujLHa9afcf.3dm) (193.8 KB) Type the rooms for names in the same plane of the rooms. The insertion point of the name should be inside the room. Open the Grasshopper script, right click on the PO Model component and select Get Model. Right click on the other PO Model component and replace the existing model. The …

Let me know if you are asking for something different here.

---

<div class="post-metadata">

**Author:** ![resh](https://discourse.pollination.solutions/user_avatar/discourse.pollination.solutions/resh/32/9937_2.png) [@resh](https://discourse.pollination.solutions/u/resh)\
**Post date:** [September 9, 2024, 1:01pm UTC](https://discourse.pollination.solutions/t/room-naming-automation-in-rhino/4285/3 "2024-09-09T13:01:21Z")

</div>

Hi @mostapha , I think this works. I’ll have to do some precleaning of the naming that’s on the existing floor plan and edit the code a little bit. Thank you.
