# Can I automatically rename the rooms to include the story name?

**URL:** <https://discourse.pollination.solutions/t/can-i-automatically-rename-the-rooms-to-include-the-story-name/3498>\
**Category:** Rhino Plugin\
**Tags:** question\
**Created:** [January 12, 2024, 1:30am UTC](https://discourse.pollination.solutions/t/can-i-automatically-rename-the-rooms-to-include-the-story-name/3498 "2024-01-12T01:30:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keigonomura](https://discourse.pollination.solutions/user_avatar/discourse.pollination.solutions/keigonomura/32/11951_2.png) [@keigonomura](https://discourse.pollination.solutions/u/keigonomura)\
**Post date:** [January 12, 2024, 1:30am UTC](https://discourse.pollination.solutions/t/can-i-automatically-rename-the-rooms-to-include-the-story-name/3498/1 "2024-01-12T01:30:14Z")

</div>

@mostapha @chriswmackey Thanks for your replies.

I’m wondering if there is any way that “Story” can be automatically used as part of zone names.  
For office/residential towers with typical layout plan, they often have the same room names in different floors e.g., 10th floor has a room called _Office\_1_ and 11th floor also has a room called _Office\_1_. In this case, it’s useful if zone names are automatically assigned to osm/idf files as “Story” + “F” + “\_” + “Room Name” i.e., “_10F\_Office\_1_” and “_11F\_Office\_1_”.

---

<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:** [January 12, 2024, 3:10pm UTC](https://discourse.pollination.solutions/t/can-i-automatically-rename-the-rooms-to-include-the-story-name/3498/2 "2024-01-12T15:10:33Z")

</div>

Hi @keigonomura,

You can use the `PO_ResetDisplayName` command to reset the display names to a new format. Here is a recording that shows how to do what you asked for.

Now, as you might have already noticed, the display names won’t be exported to the IDF/OSM files. That means when you are happy with the display names, you need to use the `PO_ResetIdentifiers` to reset the identifiers based on the display name. Here is a recording that shows how to do that. You have to make sure all the display names are unique otherwise resetting the identifiers results in an invalid model.

Make sure that you re-run the solve adjacency after resetting the identifiers.

---

<div class="post-metadata">

**Author:** ![keigonomura](https://discourse.pollination.solutions/user_avatar/discourse.pollination.solutions/keigonomura/32/11951_2.png) [@keigonomura](https://discourse.pollination.solutions/u/keigonomura)\
**Post date:** [January 13, 2024, 12:05am UTC](https://discourse.pollination.solutions/t/can-i-automatically-rename-the-rooms-to-include-the-story-name/3498/3 "2024-01-13T00:05:15Z")

</div>

@mostapha Thank you for your answer with intelligible recordings!
