This commit is contained in:
Dion Moult
2022-04-14 15:18:42 +10:00
parent 4aa91cfa7f
commit 78811d331b
@@ -75,7 +75,7 @@ def update_diagram_scale(self, context):
if "|" not in scale:
return
human_scale, scale = scale.split("|")
element = tool.Ifc.get_entity(context.scene.active_object)
element = tool.Ifc.get_entity(context.active_object)
if not element:
return
pset = ifcopenshell.util.element.get_psets(element).get("EPset_Drawing")