You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/yanev/projects/pd/pd-flow/.venv/lib/python3.8/site-packages/ezdxf/entities/xdict.py", line 191, in add_dictionary
owner=dictionary.dxf.hande,
File "/home/yanev/projects/pd/pd-flow/.venv/lib/python3.8/site-packages/ezdxf/entities/dxfns.py", line 134, in __getattr__
raise const.DXFAttributeError(
ezdxf.lldxf.const.DXFAttributeError: Invalid DXF attribute "hande" for entity DICTIONARY
To Reproduce
Just call add_dictionary of extension dictionary.
Expected behavior
A dictionary object should be successfully created and returned.
The text was updated successfully, but these errors were encountered:
Actually while describing the issue I just realized that this is just a typo in ezdxf/entities/xdict.py in add_dictionary function. Line 191 owner=dictionary.dxf.hande,
should be owner=dictionary.dxf.handle,
I just tested this change locally and it works fine.
Describe the bug
When calling add_dictionary for a new extension dictionaly of any graphical element:
the following exception is trown:
To Reproduce
Just call add_dictionary of extension dictionary.
Expected behavior
A dictionary object should be successfully created and returned.
The text was updated successfully, but these errors were encountered: