Update Room Properties from Grasshopper

How do I update room properties through grasshopper?

For example, this script below does not change the display name in the Rhino Pollination panel:

import rhinoscriptsyntax as rs

for room in rooms:
   name = room.display_name
   if name == "P3":
       room.display_name = "new name"

is there a way to commit the changes back to the model?

You can use the PO_Model component to replace the model in Rhino.

1 Like