mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 23:29:59 +00:00
WIP refactor model module with new pie menu for convenience. See #1222.
This commit is contained in:
@@ -17,6 +17,7 @@ class AddOpening(bpy.types.Operator):
|
||||
def execute(self, context):
|
||||
obj = bpy.data.objects.get(self.obj) if self.obj else bpy.context.active_object
|
||||
opening = bpy.data.objects.get(self.opening)
|
||||
opening.display_type = "WIRE"
|
||||
if not opening.BIMObjectProperties.ifc_definition_id:
|
||||
body_context_id = None
|
||||
if not ContextData.is_loaded:
|
||||
|
||||
Reference in New Issue
Block a user