diff --git a/src/blenderbim/blenderbim/bim/module/model/workspace.py b/src/blenderbim/blenderbim/bim/module/model/workspace.py index 9330888113..e7e9349351 100644 --- a/src/blenderbim/blenderbim/bim/module/model/workspace.py +++ b/src/blenderbim/blenderbim/bim/module/model/workspace.py @@ -90,6 +90,7 @@ class BimTool(WorkSpaceTool): ("bim.hotkey", {"type": "Y", "value": "PRESS", "shift": True}, {"properties": [("hotkey", "S_Y")]}), ("bim.hotkey", {"type": "D", "value": "PRESS", "alt": True}, {"properties": [("hotkey", "A_D")]}), ("bim.hotkey", {"type": "O", "value": "PRESS", "alt": True}, {"properties": [("hotkey", "A_O")]}), + ("bim.hotkey", {"type": "Q", "value": "PRESS", "shift": True}, {"properties": [("hotkey", "S_Q")]}), ) def draw_settings(context, layout, ws_tool): @@ -448,6 +449,9 @@ class Hotkey(bpy.types.Operator, tool.Ifc.Operator): def hotkey_S_A(self): bpy.ops.bim.add_constr_type_instance() + def hotkey_S_Q(self): + bpy.ops.bim.calculate_all_quantities() + def hotkey_S_C(self): if self.active_material_usage == "LAYER2": bpy.ops.bim.align_wall(align_type="CENTERLINE")