Skip to content

A file's release is read experimentally, but the diagnostics, rvt-inspect and the viewer do not say so #871

Closed

Description

@DrunkOnJava

What

Since 0.6.0, rvt-rs reads the element records of Revit 2015 to 2022 and 2027 projects by default. Those releases are experimental: no Revit export of their own release has been measured (RE-179 to RE-181), and the docs say so. The outputs a user sees do not:

  • rvt-inspect --json sets file.supported_revit_version to true for every release from 2015 to 2027 (src/bin/rvt_inspect.rs:167-169), so a 2019 project and a 2024 project report alike.
  • rvt-ifc --diagnostics carries input.revit_version and a confidence level, but nothing about how the release's reading was measured. The export diagnostics schema has no field for it.
  • The viewer's file status warns only outside 2015 to 2027 (viewer/src/main.ts:2486-2493).
  • Only rvt-doc says "Values for this release are experimental".

The 1.0 milestone promises "every approximation visible". A user who opens a 2021 project is reading an experimental decode without being told.

Done when

  • The export diagnostics carry the file's release support level (supported, partial or experimental) and the report it rests on. It comes from one table in the crate that supports_revit_version and the support matrix agree with. The diagnostics schema and its contract test change with it.
  • rvt-inspect reports the same level, and its failure-mode text names an experimental release.
  • The viewer's file status shows it.
  • A real-file or CLI check fails if a release is admitted without a level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliarea:viewerpriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions