mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Clean up orphaned curves creating new elevation/section annotations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user