#1153. References to grids in drawings are now auto synchronised when activating a drawing view.

This commit is contained in:
Dion Moult
2022-03-18 16:00:49 +11:00
parent 2bfff12988
commit dcc1ed5607
7 changed files with 253 additions and 7 deletions
@@ -678,6 +678,7 @@ class ActivateView(bpy.types.Operator):
project_collection.children["Views"].children[camera.users_collection[0].name].hide_viewport = False
bpy.data.collections.get(camera.users_collection[0].name).hide_render = False
bpy.ops.bim.activate_drawing_style()
core.sync_references(tool.Ifc, tool.Collector, tool.Drawing, drawing=tool.Ifc.get().by_id(self.drawing))
return {"FINISHED"}