Skip to content

AcDb:RevHistory, AcDb:ObjFreeSpace and AcDb:Template #133

Open

Description

@DrunkOnJava

Spec: ODA Open Design Specification for .dwg files v5.4.1, §18 (p. 97), §21 (p. 241), §22 (p. 242).

Scope

Read the three sections.

State on main (2026-10-21)

Named only.

Acceptance

  • Each read on every corpus file that has it
  • Diagnostics for an unexpected layout, never a panic

Parent: #131

Activity

  1. added
    type:spec
    area:metadata
    priority:P2
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Status (main 2bab7b2): one of the three sections is partly read, so "named only" is stale for it.

    • §22 AcDb:Template: dxf_header::measurement reads the section for $MEASUREMENT (an Int16 description length, the description, then the UInt16), and dwg-to-dxf writes the variable (feat(dxf): write the decoded header into dwg-to-dxf's HEADER section (#126) #320). One finding from that read: §22 counts the description in bytes, but AutoCAD writes it empty (0) up to R2004 and, from R2007, a length of 1 followed by two bytes, so the length counts UTF-16 units there. Every R2007 to R2018 corpus file agrees; the header probe in CI run 40503137263 attributes $MEASUREMENT to this section. The description text itself is not exposed.
    • §18 AcDb:RevHistory and §21 AcDb:ObjFreeSpace: still named only (docs/spec-coverage.md rows missing).

    The acceptance (each section read on every corpus file that has it, diagnostics for an unexpected layout) is open for all three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:metadatapriority:P2type:spec

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions