vagran / dxf-viewer

DXF 2D viewer written in JavaScript
Mozilla Public License 2.0
295 stars 87 forks source link

ATTRIB/ATTDEF proper processing #50

Open vagran opened 1 year ago

vagran commented 1 year ago

It should be investigated how to properly handle ATTRIB/ATTDEF entities.

Here is one piece of information.

As I see, they are not always rendered by Autodesk viewer, but are listed in block attributes instead: image

dotoritos-kim commented 1 year ago

58 Added logic to select the correct layer and block. Please take a look.

dotoritos-kim commented 1 year ago

58 Changed the logic a bit. All insert entities are put into an array and sorted groupBy. And

Match the handle like that to find the insert.