Repository navigation
fix(ifc): a family type table's entries in a Family element's block are no type's value, and no longer raise RE-354's warning (RE-395) - #1633
Merged
DrunkOnJava merged 2 commits intoNov 10, 2026
Conversation
… a Family element's block, the family's own type table Core Interior's export warned that one type text parameter is left out because a family type table's entries disagree (RE-354), while Revit's own export of the file holds no fire rating. The owner is the Family I_Single-Flush (17235), not a type: its block holds the family's type table, with Fire Rating rows 2HR, 2HR and 1HR, while each of its five FamilySymbol types holds its own 2HR in its own block. probe_re395_family_type_table_owners lists every owner of a table entry with its record's class and whether its copies agree. On seven files (Core Interior, Snowdon Towers Architectural 2024 and 2025, Golden Nugget Architektur, and the three BIM4LCA files) all 6 owners whose entries disagree are Family elements, none a type.
…re no type's value, and no longer raise RE-354's warning (RE-395) type_text_parameters reads the record classes of the owners of table entries, with no graph decoded, and leaves out those that are Family elements before their copies are checked. Where the classes cannot be read, every owner is kept, as before. On 32 projects of Revit 2023 to 2027 every IFC is unchanged, RE-354's office door ratings and manufacturers included. The warning goes from 1 to 0 on Core Interior and Snowdon Towers Architectural 2024 and 2025, and from 3 to 0 on Golden Nugget Architektur. The export takes no measurably longer.
4 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 11, 2026
## Summary Release 0.18.0. Everything merged since 0.17.0 (61 pull requests, `main` at 979ec42): every element that would be a bounding box drawn from the mesh Revit saved for it by default on Revit 2023 to 2027, roofs, railings, instances and curved surfaces read for it, railings aggregated under their stairs, the quantities and properties of the bodies drawn from meshes (walls, mullions, panels, roofs, floors, openings, round columns), four more "Export to IFC As" values, unique type GlobalIds, standalone family revolutions, a reason on every box that stays one (#1645), and a cut in the saved-mesh pass's peak memory on large files (#1690), with a part that remains (#1694). puzzbobb's #1620 and #1633 and BIM4GIB's #1628 and #1632 are credited in the introduction. The release's own Measure found a cost #1191 had not disclosed: the default export of a Revit 2023 to 2027 file took 1.4 to 4.4 times the peak memory of 0.17.0 (Core Interior 305 to 647 MiB, Snowdon Towers Architectural 1,072 to 3,964 MiB). #1691 cut the large files' share without changing a body (Core Interior 437 MiB, Snowdon Towers Architectural 2,086), and what is left is 1.1 to 1.9 times the time and 1.4 to 4.4 times the peak memory on Autodesk's samples of Revit 2023 to 2027, the most on the small `rac_basic` samples (200 to 875 MiB), which #1691 did not move. The notes, README, docs and help text state the measured figures, and #1694 tracks the rest. The project owner was shown these figures before the release was armed and chose to tag with them stated (2026-11-11). ## Changes - Version 0.17.0 -> 0.18.0 in: - Cargo.toml; - rvt-py/Cargo.toml and its `=` pin; - rvt-mcp/Cargo.toml and its `=` pin; - rvt-wasm/Cargo.toml; - tools/stream_evidence/Cargo.toml's pin; - viewer/package.json; - CITATION.cff (version and date); - Cargo.lock and fuzz/Cargo.lock. - `python3 tools/release/changelog.py assemble`: 42 fragments go into `[0.18.0]`, with an introduction, what is not measured, the measured bullets and "Upgrading from 0.17"; #1690's entry arrived after the assembly and is written into `[0.18.0]` Fixed by hand. - README: the latest release, the "Upgrading from 0.17" and "after 0.18.0" fragments sentence, and two sentences that still described roofs on Revit 2023 to 2027 and the saved-mesh default as limited to family instances (`docs/evidence.md` row likewise). - The Core Interior witness observations and verdicts, and the synthetic fixtures, from this pull request's CI run 42949885323: only `witness_version`, the verdict hashes and the fixtures' version strings differ. - The measured cost of the saved-mesh default replaces #1191's first figures (24.4 s and 1,423 MiB against 21.2 s and 913, "1% to 17% more time and up to 59% more peak memory"): the changelog, README, `docs/python.md`, `docs/release-1.0-criteria.md`, `docs/support-matrix.json`, the `--no-saved-meshes` help text of `rvt-ifc` and `rvt-gltf` and the module doc of `src/ifc/saved_meshes.rs` quote Measure run 42956917709; the viewer's wasm memory in the changelog and `docs/viewer-api.md` is Deploy viewer run 42957158734 on `main` at 979ec42 (Core Interior 308 to 383 MiB, not 324). The source changes are help text and doc comments only. ## Testing - `python3 tools/ci/release_preflight.py check --event workflow_dispatch --ref-type branch --ref-name chore/release-0.18.0 --sha HEAD`: ok, version 0.18.0. - `python3 tools/release/changelog.py check`: ok. `rustfmt --edition 2024 --check` on the three Rust files: ok. - The release's baseline Measure, `main` at 8334726 against v0.17.0 with every flag, the held-out models and timing: run [42949360321](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42949360321), read into the changelog's "Measured against 0.17.0" bullets; #1691 moves no export, run [42954375538](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42954375538). - The timing of the final code: run [42956917709](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42956917709), v0.17.0 against #1691's head (the same source as `main` from 979ec42: `git diff --stat` over src, Cargo.toml and Cargo.lock is empty), one runner per file, the median of three exports, 58 files. - The dry run RELEASE.md step 7 asks for: `publish.yml` dispatched on this branch at b001cb3, [run 42949890449](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42949890449), every job green (the wheels installed and opening a model, `cargo install` with the CLI sample, the docs.rs preview, the viewer load smoke), and again at bd6875d after #1691 and the notes: [run 42959626601](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42959626601); the head since moved two commits that change CHANGELOG.md only: 4762e14 (the table's own minimum peak ratio, 1.42, an introduction sentence on the cost, a bullet's lead) and 13373e7 (every cost reads from 0.17.0's figure to 0.18.0's). Nothing was published. - The same-project gates, which `arm.sh` needs on a commit holding the PR's edits under `src/` (help text and doc comments only): Measure run [42961127420](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42961127420) on 4762e14, `samples=true`, default scorers: pass, 15 samples held to their earlier saves and the Areas on 4 saves and on the 2021 save. Unit tests: N/A. ## Audit-honesty checklist - [x] Each entry keeps its caveats; the introduction lists what is not measured. - [x] The saved-mesh cost is the measured one, with what is still above 0.17.0's named (#1694). - [x] No emojis, private paths or PII. ## Legal and contribution hygiene - [x] Apache-2.0. No Autodesk source, internals or NDA material. ## Breaking changes The saved-mesh default and its library names (`SavedMeshChoice::Default`, `saved_meshes::default_scope`, new `SavedMeshChoice::DoorsAndWindows`), listed under "Upgrading from 0.17".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RE-354's warning "1 type text parameter(s) (Fire Rating or Manufacturer) are left out because the copies of a family type table's entry, or an entry and the id-first form, give different values" fires on Core Interior, Snowdon Towers Architectural and Golden Nugget Architektur. It is false: every value it names is in a
Familyelement's block, the family's own type table, not a type's value.type_text_parametersnow leaves aFamily's table entries out. No IFC changes on 32 projects; the warning goes from 1 to 0 on three files and from 3 to 0 on the fourth. Report: RE-395.Motivation
#1185 (W7). Core Interior's export warned that a type's Fire Rating is left out, while Revit's own export of the file holds no fire rating. The owner is 17235, the
FamilyI_Single-Flush: its block holds its type table, with Fire Rating rows2HR,2HRand1HR. Each of its fiveFamilySymboltypes (173313 x 8 2 Hour, 19270, 19271, 19272, 132875) holds its own2HRin its own block.probe_re395_family_type_table_ownerslists every owner of a table entry with its record's class:FamilyFamilyChanges
src/research/partition_type_parameters.rs:type_text_parametersreads the record classes of the owners of table entries (family_owners:native_documentwith no graph class decoded) and leaves out theFamilyelements before the copies are checked. Where the classes cannot be read, every owner is kept, as before.probes/examples/probe_re395_family_type_table_owners.rs,reports/element-framing/RE-395-family-type-table-owners.md, an addendum todocs/format-reconnaissance.md,changelog.d/fixed/family-type-table-owners.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)cargo fmt --all --check,cargo clippy --profile ci --workspace --all-targets -- -D warningsandcargo +1.87 check --profile ci --all-targetspass at the branch head. The fulltools/check-local.sh --corpushas not been run.probe_re395_family_type_table_ownerson Core Interior (MIT,magnetar-io/revit-test-datasets), Snowdon Towers Architectural 2024 (pinned inresearch/autodesk-sample-projects.tsv) and 2025, the BIM4LCA office as built and at permit and its housing terrain file (CC BY-SA 4.0,research/bim4lca-measure.tsv) and, local only, Golden Nugget Architektur: the table above.rvt-ifcatmain(bf54d5f4) against this branch, default, on 32 projects: Autodesk's sample projects of 2023 to 2027 and its five Snowdon Towers 2024 models (pinned), Core Interior, Einhoven, the three BIM4LCA files and, local only, the seven Snowdon Towers 2025 models and the two Golden Nugget models. Every IFC is the same (lessFILE_NAMEandIfcOwnerHistory), RE-354's office doorFireRatingand family typeManufacturervalues among them. The RE-354 warning goes from 1 to 0 on Core Interior and Snowdon Towers Architectural 2024 and 2025, and from 3 to 0 on Golden Nugget Architektur; no other file had it.tools/bench.shand attached the before / afterAudit-honesty checklist
changelog.d/<section>/(seechangelog.d/README.md), not inCHANGELOG.mdI_Single-Flush's table has a1HRrow none of its types holds (RE-395 §6).probes/examples/and a dated addendum todocs/format-reconnaissance.mdare includedprobes/examples/probe_re395_family_type_table_owners.rs.Legal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)Family,FamilySymbol,m_familyId,m_pFamilyTypes) are named in the file's ownFormats/Latest.testuser,111111,FY-20XX, etc.) and contain no real-world PIIBreaking changes
None. The IFC is unchanged; one diagnostics warning is no longer raised where it was false.
Screenshots or output samples
probe_re395_family_type_table_ownerson Core Interior (theagreelines left out):Related issues
Refs #1185