Skip to content

Element records beyond 2024/2025: derive the marker from the schema and measure the older envelope (RE-80 follow-up) #421

Open

Description

@DrunkOnJava

RE-80 (reports/element-framing/RE-80-schema-tag-constants.md) showed that the element-record marker is [tag of Outline][0xFF x 4][tag of ElementParents] in the file's own schema, on every release from 2016 to 2026. Every such prefix in the 11-release family corpus and three projects is followed by a well-formed bounding box. The record-chain header (RE-35) carries the ElementHeader tag, but only from 2024.

So the marker is no longer what blocks other releases. Per release, as of 2026-10-21:

Status 2026-10-21: the third acceptance item was ticked when 2023 was admitted. It stopped holding when 0.6.0 admitted 2015 to 2022 and 2027 without a same-release export. That admission was measured against cross-release copies, which is weaker than item 2's bar. The item is unticked below and rewritten as what those releases still owe. The outputs do not yet tell a user that a file's release is experimental (#871).

Acceptance:

  • bbox_marker derives the marker from RevitFile::schema_classes and is cross-checked against the 2024 and 2025 constants. Half done: since feat(partitions): confirm the element-record marker from the file's own schema (#421) #506 file_bbox_marker refuses a file whose schema gives another marker than the release's measured constant. bbox_marker is still a per-release table (2024 to 2027).
  • For each release admitted, a project and Revit's own export of it (licensed or local-only, per docs/reference-models.md) reproduce the exported ElementId set, as RE-32 did for 2025. Exact for 2024 (RE-21) and 2025 (RE-32). 2023 and 2026 are measured with a pair but are not exact: on 2023, 37 of 37 and 37 of 45, the other 8 being window trims nested in families (RE-81); on 2026, 113 of 115 on one project (RE-124). Not met for 2015 to 2022 or 2027, which have no pair.
  • A release without such a pair is either fail-closed or labelled experimental in every output that reads it (A file's release is read experimentally, but the diagnostics, rvt-inspect and the viewer do not say so #871). 2015 to 2022 and 2027 are read by default and labelled only in the docs.

1.0 supports every release from 2015 to 2027 with none experimental (the maintainer, 2026-10-21; docs/release-1.0-criteria.md W2, #875). So item 2 must hold for every release in that range before 1.0, which needs a project and Revit's own IFC export of it for each of 2015 to 2022 and 2027, exact pairs for 2023 and 2026, and held-out pairs as #408 sets them.

Activity

  1. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress, 2026-09-27: #443 binds Revit 2023 doors and windows to their host wall with RE-85's rule on 2023's u32 reference lists. Against Revit's own IFC4 exports of the two local 2023 projects: all 19 (Exemplo_data) and 11 (modelo_bim) take the wall Revit's filled opening voids (none had a host before), and 15 of the 30 openings equal Revit's within 0.01 ft (29 within 1 ft). Still open here: 2023 names, types, storeys, joins and design options; the 8 window trims Revit exports from nested components that nothing decoded separates from the mullion patterns it leaves out; and releases other than 2023/2024/2025.

  2. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Revit 2023 progress, measured on the two local 2023 projects with Revit's own IFC4 exports (Exemplo_data, modelo_bim):

    Still open for 2023:

    • material layer sets on the IFC, which needs 2023 material appearances and category materials;
    • wall location lines. The bounded line after the element-data header matches Revit's Axis up to join trims on Exemplo_data's walls.
    • wall joins;
    • design options;
    • parameters.
  3. 103 remaining items

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:elementsarea:partitionshelp wantedpriority:P1type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions