mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-09 20:10:12 -06:00
An object of another application's class that acadrust has no model for is read only as its DWG record (ObjectType::Unknown), which its DXF writer leaves out. The DWG to DXF bridge lost every such object with no note, and the references to it went too (an extension dictionary entry naming the object, say). Each one is now carried as a proxy object of its class (ACAD_PROXY_OBJECT): the record is split into its common object data (owner, reactors, extension dictionary) and the streams after it (data bits, R2007+ strings, object references), as the Open Design Specification for .dwg describes them. The references are read to the end of the handle stream (to its exact length from R2010 on), null ones too: a null reference is an empty field, and the references after it belong to the next fields. Objects of the drawing database's own classes, and records that don't split, stay as they were and are named in a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H43qQA41CJLauqXnPgBQ7r