IfcOpenShell / IfcOpenShell

Open source IFC library and geometry engine
GNU Lesser General Public License v3.0
1.85k stars 729 forks source link

Renaming a spatial element from the Spatial Decomposition panel doesn't rename objects in the outliner nor update the loaded object metadata #5516

Closed Gorgious56 closed 3 weeks ago

Gorgious56 commented 3 weeks ago

I would assume renaming a spatial element in the Spatial Decomposition tree to propagate to both Blender objects and the properties of the ifc objects immediately. It is indeed saved to file since saving the ifc after renaming and loading in a new Blender instance correctly assigns the names, but it does not appear immediately in the current session.

I assume a callback should be there to tie the Spatial Decomposition tree to the rest of the interface. If not possible Clicking on the "Reload Container Manager" button should rename objects in the interface. Or maybe another way but I think this interface already contains too many buttons ^^

Gorgious56 commented 3 weeks ago

Oops dupe #5449