Skip to content

Commit

Permalink
Fix #4586 occurred after e14d96e
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej730 committed Apr 27, 2024
1 parent 44c28e9 commit 8af37cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blenderbim/blenderbim/bim/module/drawing/svgwriter.py
Expand Up @@ -726,7 +726,7 @@ def get_reference_and_sheet_id_from_annotation(self, element):
reference = tool.Drawing.get_drawing_reference(drawing)
if reference:
for sheet_reference in tool.Ifc.get().by_type("IfcDocumentReference"):
reference_description = tool.Drawing.get_reference_description(reference)
reference_description = tool.Drawing.get_reference_description(sheet_reference)
if reference_description != "DRAWING" or sheet_reference.Location != reference.Location:
continue
sheet = tool.Drawing.get_reference_document(sheet_reference)
Expand Down

0 comments on commit 8af37cb

Please sign in to comment.