diff --git a/src/blenderbim/blenderbim/bim/module/void/ui.py b/src/blenderbim/blenderbim/bim/module/void/ui.py index a1bac98af7..c17e1922ed 100644 --- a/src/blenderbim/blenderbim/bim/module/void/ui.py +++ b/src/blenderbim/blenderbim/bim/module/void/ui.py @@ -49,7 +49,11 @@ class BIM_PT_voids(Panel): if len(context.selected_objects) == 2: op = row.operator("bim.add_opening", icon="ADD", text="Add Opening") for obj in context.selected_objects: - if "IfcOpeningElement" in obj.name or not obj.BIMObjectProperties.ifc_definition_id: + if ( + "IfcOpeningElement" in obj.name + or "IfcOpeningStandardCase" in obj.name + or not obj.BIMObjectProperties.ifc_definition_id + ): op.opening = obj.name elif len(obj.children) == 1 and not obj.children[0].BIMObjectProperties.ifc_definition_id: op.opening = obj.children[0].name