You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Revit 2027: 84 framing records of one save are read with no ElementId, and the save a day before reads all 84 (#1829) #1838
Found by HWT-25's report (#1829) on a confidential Revit 2027 structural model (CHL), read with 0.18.0.
What happens. In the latest save, 84 element records are left out of the export, and its diagnostics count them as element_record_without_element_id. All 84 are steel roof members of one RHS framing family (StructuralFraming). In the same model's backup, saved one day earlier, rvt-rs reads the same 84 GlobalIds with no warning. Revit's own export has them.
What the reader does. A frame of the second prologue (RE-30) carries no ElementId of its own. assign_second_prologue_ids takes the id of the ElementId-keyed record that encloses the frame, in the record chain each partition opens with (RE-35). A frame stays unattributed in two cases:
its enclosing record's id is not one Global/ElemTable declares;
it lies after the chain.
Which case the 84 are in is not known. The reporter could not reproduce it on a small shareable model across four saves (51, 51, 771 and 809 members, all read).
To separate the cases.probe_re35_record_wrapper, run on both saves, prints per partition how many placed second-prologue instances fall in a declared record, in an undeclared record, or after the chain. It prints counts only, with no ids or names:
cargo run --profile ci -p rvt-probes --example probe_re35_record_wrapper -- CHL.rvt
Done when:
the cause is located from that output;
if the reader can resolve the 84, it does, and their GlobalIds equal Revit's;
if it cannot, the negative is reported with the counts.
Rows for PR #1874's Measure run, registered before it is dispatched. The change is wording only, in texts that appear only where unexported_element_records is above 0, and none of the 121 published diagnostics.json of the 0.20.0 run (43357862138) has it. So the run should show nothing moved:
Every ifc.sha256 the run records equals main's.
Every diagnostics.json equals main's. A model that carries the item would differ in its first warning, so a difference names a model the 0.20.0 run did not have; it is read before anything else.
Every scorer output the run compares is equal.
same-project gates passes on the head commit.
The same run also settles whether any measured model carries the item: if none does, the new texts are exercised by the reporter's file alone, which is said in the PR.
The four rows, read: all hold. Run 43370128477 (unfiltered: the samples of every year, the BIM4LCA models, puzzbobb's Revit 2025 models, rac_advanced's pairs, BIMcollab's model, the families and the held-out models) on e90f943a, against main at 9f43fe37.
Exports: holds.ifc.sha256 is identical on 146 of 146.
Diagnostics: holds.diagnostics.json is identical on 121 of 121. The warning this PR rewords is the first of a file's warnings and appears only where records of undeclared ElementIds exist, so a model that carried it would differ here; none does.
Scorers: holds. Nothing differs beyond what only the head writes (the probe's output and the across-saves areas). The run's semantic check passes (42 models, 57,056 elements, advisory).
Gates: hold.same-project gates pass on e90f943a.
So the new texts are exercised by no measured model, as the PR says: the one comparison with Revit's export of the file that carries the item is HWT-25's, as counts. PR #1874 is ready for its read.
PR #1874's head moved twice since the run that read the rows above: main is merged in (#1850 and #1852 landed after the run) and the texts are hedged to what was measured on the one model (rvtDevelop's review). The code change is strings only, in texts that appear only where records of undeclared ElementIds exist, which no measured model has, so the earlier unfiltered run stands for the exports and the diagnostics.
Row for the new run, registered before it is dispatched: same-project gates pass on fbf3cecf. It needs a run of its own because main's gate is now #1850's stricter bodies_across_saves.py, which the earlier head (cut before #1850) would fail on the 25 further slab pieces of each rme save, as #1873's did.
Activity
docs(release): P1 counts HWT-25's Revit 2027 structural report, the f…
ci: the probe workflow builds the dispatched ref and takes no ref inp…
docs(maintaining): a macOS reporter clears an unsigned probe's downlo…
ci: a workflow builds one probe for Windows, macOS and Linux as run a…
DrunkOnJava commentedon Nov 13, 2026
Rows for PR #1874's Measure run, registered before it is dispatched. The change is wording only, in texts that appear only where
unexported_element_recordsis above 0, and none of the 121 publisheddiagnostics.jsonof the 0.20.0 run (43357862138) has it. So the run should show nothing moved:ifc.sha256the run records equalsmain's.diagnostics.jsonequalsmain's. A model that carries the item would differ in its first warning, so a difference names a model the 0.20.0 run did not have; it is read before anything else.same-project gatespasses on the head commit.The same run also settles whether any measured model carries the item: if none does, the new texts are exercised by the reporter's file alone, which is said in the PR.
feat(cli): rvt-diff --elements compares two saves of a model element …
DrunkOnJava commentedon Nov 13, 2026
The four rows, read: all hold. Run 43370128477 (unfiltered: the samples of every year, the BIM4LCA models, puzzbobb's Revit 2025 models,
rac_advanced's pairs, BIMcollab's model, the families and the held-out models) one90f943a, againstmainat9f43fe37.ifc.sha256is identical on 146 of 146.diagnostics.jsonis identical on 121 of 121. The warning this PR rewords is the first of a file's warnings and appears only where records of undeclared ElementIds exist, so a model that carried it would differ here; none does.same-project gatespass one90f943a.So the new texts are exercised by no measured model, as the PR says: the one comparison with Revit's export of the file that carries the item is HWT-25's, as counts. PR #1874 is ready for its read.
merge: main at the landing of #1875 into the branch of #1838
fix(ifc): the texts about records of undeclared ElementIds say what w…
DrunkOnJava commentedon Nov 13, 2026
PR #1874's head moved twice since the run that read the rows above:
mainis merged in (#1850 and #1852 landed after the run) and the texts are hedged to what was measured on the one model (rvtDevelop's review). The code change is strings only, in texts that appear only where records of undeclared ElementIds exist, which no measured model has, so the earlier unfiltered run stands for the exports and the diagnostics.Row for the new run, registered before it is dispatched:
same-project gatespass onfbf3cecf. It needs a run of its own becausemain's gate is now #1850's stricterbodies_across_saves.py, which the earlier head (cut before #1850) would fail on the 25 further slab pieces of eachrmesave, as #1873's did.chore(release): prepare v0.21.0 (#1888)
fix(ifc): element records in records of ElementIds the element table …
docs(criteria): the practitioners' reports row passes with the third …