mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +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,
|
context=context,
|
||||||
ifc_representation_class=None,
|
ifc_representation_class=None,
|
||||||
)
|
)
|
||||||
|
bpy.data.curves.remove(data)
|
||||||
|
|
||||||
assert element
|
assert element
|
||||||
representation = ifcopenshell.util.representation.get_representation(element, context)
|
representation = ifcopenshell.util.representation.get_representation(element, context)
|
||||||
assert representation
|
assert representation
|
||||||
|
|||||||
Reference in New Issue
Block a user