Hi @rafaelhok,
This has been already addressed by adding the Python Script Editor to the Model Editor in August last year. I mentioned it in a post, but I realized I never left a comment here.
The process does what you asked for above by renaming the Pollination rooms inside the Model Editor.
Here is how it works.
-
Select the property to be exported as user data. In this case, Space Type.
-
Use this Python code to rename the rooms based on the Space Type.
from model_editor import Editor
editor = Editor()
model = editor.model
for room in model.room_2ds:
try:
user_data = room.user_data["Space Type"]
except KeyError:
# The rooms user_data doesn't have a space type in it.
# The user has forgotten to export them as user data
continue
if not user_data:
# user_data is None
continue
room.display_name = f'{user_data} - {room.display_name}'
editor.update()
Here is a short video that shows the process.
The reason that we didn’t add it to the UI as you suggested above is that not all the incoming rooms and spaces have a program type assigned to them. This method is flexible enough that you can use it with any other room/space properties.
I’m going to mark this as resolved but feel free to unmark it if you have any other questions.
