mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Fix error entering item mode for elevation/section annotations #6081
This commit is contained in:
@@ -1321,6 +1321,10 @@ class Drawing(bonsai.core.tool.Drawing):
|
||||
context=context,
|
||||
ifc_representation_class=None,
|
||||
)
|
||||
assert element
|
||||
representation = ifcopenshell.util.representation.get_representation(element, context)
|
||||
assert representation
|
||||
obj.data["ios_edges_item_ids"] = (representation.Items[0].id(),)
|
||||
return element
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user