Skip to content

Element-level diff of two saves: what was added, removed or changed, keyed by GlobalId (#1829) #1843

Closed

Description

@DrunkOnJava

Suggested by HWT-25 in #1829.

rvt-diff compares two files stream by stream. Read element by element, two saves of one model show what changed between them, keyed by GlobalId (or ElementId):

  • elements added and removed;
  • elements whose class, storey, type, box or parameters changed.

The reporter did this by hand over two consecutive saves of a Revit 2027 structural model. It found 163 beams and 10 columns added in one day, plus the 84 framing members that one save drops (#1838). It also showed that the parts of a layered floor change GlobalId on every save (#1840).

Shape, to be decided: an rvt-diff --elements mode, or a new CLI. It would print JSON with a schema under docs/schemas/ and --redact, as the other CLIs do. A new CLI also updates the README's CLI sentence (tests/binary_inventory.rs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions