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
Describe the bug
The "Name" parameter of an extended dictionary/Xdictionary attached to an Entity(LwPolyline in my case) isn't stored when writing to a DwgFile when using DWG version AC1024, I also tried version AC1018 but also didn't seem to work.
Expected behavior
The Xdictionary.name of the entity shouldn't be empty but 'Test'
Additional context
Even though the dictionary name is empty, the entries in the dictionary itself can be retrieved successfully from the generated DWG,
The text was updated successfully, but these errors were encountered:
This is actually the expected behavior for the XDictionary in any CadObject, the property Name is there for all NoneGraphicalObject to optimize the code, if a CadDictionary is stored as an entry of another dictionary, the entry will be the same as the name, that's why is there, but if the CadDicitonary belongs to a CadObject the name will not be relevant or stored at all.
I'll add a documentation note to make this clear in case that someone else have the same issue.
Thanks for the report!
DomCR
linked a pull request
Aug 4, 2024
that will
close
this issue
Describe the bug
The "Name" parameter of an extended dictionary/Xdictionary attached to an Entity(LwPolyline in my case) isn't stored when writing to a DwgFile when using DWG version AC1024, I also tried version AC1018 but also didn't seem to work.
To Reproduce
Expected behavior
The Xdictionary.name of the entity shouldn't be empty but 'Test'
Additional context
Even though the dictionary name is empty, the entries in the dictionary itself can be retrieved successfully from the generated DWG,
The text was updated successfully, but these errors were encountered: