Skip to content

Commit

Permalink
fix #1203 - always export tag 280 for DICTIONARY
Browse files Browse the repository at this point in the history
The export of the "hard_owned" tag (group code 280) is sometimes
necessary and sometimes not (root dictionary). Exporting this tag
even when it is not necessary seems not to break the DXF files
for AutoCAD. Therefore, this tag will always be exported to fix
issue #1203.
  • Loading branch information
mozman committed Nov 18, 2024
1 parent 6a828ff commit e91967f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ezdxf/entities/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"hard_owned": DXFAttr(
280,
default=1,
optional=True,
optional=False, # 2024-11-18: changed to False because of issue #1203
validator=validator.is_integer_bool,
fixer=RETURN_DEFAULT,
),
Expand Down

0 comments on commit e91967f

Please sign in to comment.