Clean up orphaned curves creating new elevation/section annotations

This commit is contained in:
Andrej730
2025-02-03 13:44:42 +05:00
parent 10642618e5
commit 12d1fd221d
+2
View File
@@ -1321,6 +1321,8 @@ class Drawing(bonsai.core.tool.Drawing):
context=context,
ifc_representation_class=None,
)
bpy.data.curves.remove(data)
assert element
representation = ifcopenshell.util.representation.get_representation(element, context)
assert representation