Repository navigation
feat(elements): a wall, floor, ceiling or roof lists its type's saved parameters (#35) (RE-256) - #1065
Merged
Conversation
… parameters after its own (DrunkOnJava#35) (RE-256) RE-207 gave only a family instance its type's values, through m_masterSymbolId. A wall's SWall, ArcWall or FaceWall record names its BasicWallType, a floor's its FloorAttributes, a ceiling's its CompoundCeilingType and a roof's its RoofAttributes; each now lists that type's values after its own, at level type. A ceiling and a roof type also carry their SymbolInfo name as SYMBOL_NAME_PARAM. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0132AzpjsYWLoGtTmw6rC3GF
…type Revit's export relates them to (DrunkOnJava#35) (RE-256) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0132AzpjsYWLoGtTmw6rC3GF
…system-family record names its type in (DrunkOnJava#35) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0132AzpjsYWLoGtTmw6rC3GF
…ava#35) (RE-256) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0132AzpjsYWLoGtTmw6rC3GF
DrunkOnJava
enabled auto-merge (squash)
October 27, 2026 10:38
9 of 11 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Oct 27, 2026
## Summary Prepares v0.10.0 (RELEASE.md steps 4 to 8). It bumps the version files, assembles the `[0.10.0]` changelog section from `changelog.d/`, and rewrites the README's release section. Merging this is not the release; the signed tag on its squash commit is. ## Motivation `main` holds a stable batch since 0.9.0: 12 base-quantity rules from the W7 round, each measured equal to Revit's export with none different, plus two diagnostics fields and puzzbobb's type parameters (#1065). On the BIM4LCA office as built that is 21,065 quantities, against 0.9.0's 20,157. Griffin approved 0.10.0 with this scope on 2026-10-27. ## Changes - **Version files** (0.9.0 to 0.10.0): - `Cargo.toml`; - `rvt-py/Cargo.toml` and its `=0.10.0` pin on `rvt`; - `rvt-wasm/Cargo.toml`; - the `rvt` pin in `tools/stream_evidence/Cargo.toml`; - `viewer/package.json`; - `CITATION.cff` (`date-released: 2026-10-27`); - `.release-please-manifest.json`; - the workspace crates' entries in `Cargo.lock` and `fuzz/Cargo.lock`. - **`CHANGELOG.md`**: `python3 tools/release/changelog.py assemble` moved the 19 fragments in (Added, Research). Then `[Unreleased]` became `[0.10.0] — 2026-10-27`, with an introduction, a credit to puzzbobb (#1065), and "Upgrading from 0.9": no code change, since `DecodedExportDiagnostics` is `#[non_exhaustive]`. `[Unreleased]` is left empty. - **`README.md`**: "Release 0.10.0 and main" says what 0.10.0 adds in brief, and the support section's link points at it. ## 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.sh` passes: this PR's CI. There are no code changes; the version string changes the IFC header. - [x] Verified end to end on real Revit files: no behaviour changes. Measure 40489426210 found all 31 models byte-identical between #1065's head and main. - [ ] If this touches the IFC exporter: the IFC header carries the version (#417). Both Core Interior `rvt-rs.json` observations and their verdicts are refreshed from this PR's CI run (its `octetproof-core-interior` artifact) in a follow-up commit here, differing only in `witness_version` and the verdict hashes. - N/A: performance. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] The changelog section is assembled from the fragments; `changelog.py check` passes with none left - N/A: no limitation resolved or added - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - N/A: not a reverse-engineering finding ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [x] No fixtures ## Breaking changes None. They would be listed under "Upgrading from 0.9" in `CHANGELOG.md`.
Owner
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
A wall, floor, ceiling or roof now lists its type's saved parameters after its own in
rvt-elementsand Python'sdecoded_elements(), as a family instance already did (RE-256). Each one's native record names its type in a single member (m_WallAttributesId,m_floorAttributesId,m_ceilingAttributesId,m_roofAttributesId). On Snowdon Towers, every one of these type values that Revit's export writes is Revit's: 4,297 of 4,314. The 17 left are stair landings, which name no type this way.Motivation
#35 (M4-07) asks for type-vs-instance precedence, and my RE-207 comment of 2026-10-22 left "the type parameters of walls and floors" for a later slice. RE-207 follows only
FamilyInstance.m_masterSymbolId, so a system-family element listed none of its type's values: on Snowdon, 1 of the 1,380 walls, floors, ceilings and roofs Revit's export types had any (an in-place wall, which is a family instance). This also gives the type's built-in values, such as Type Mark and Assembly Code, under their ids, which naming the built-in parameters (#255) will build on.Changes
src/native_element_parameters.rs: a tableSYSTEM_TYPE_LINKSof (element record class, member naming the type, type record class):SWall/ArcWallm_WallAttributesId,FaceWallm_typeId(BasicWallType),Floorm_floorAttributesId(FloorAttributes),Ceilingm_ceilingAttributesId(CompoundCeilingType),ProfileRoof/Roofm_roofAttributesId(RoofAttributes).readalso reads the type classes' records, and follows the member as it followsm_masterSymbolId. The type's values come after the element's own, at leveltype, and a parameter the element holds is not repeated.src/native_metadata.rs: aCompoundCeilingType's and aRoofAttributes'sSymbolInfo.m_nameis read as its Type Name (-1002001), as aBasicWallType's and aFloorAttributes' already is.tests/element_parameters.rs(r2025_walls_take_their_wall_types_name): each wall of R2025 models 01, 08 and 18 lists its type's name at leveltype, from the type record whose ElementId is theTagof theIfcWallTypeRevit's export relates the wall to.examples/probe_35_system_type_links.rs. Scorer:tools/re/system_type_parameters_vs_ifc.py.reports/element-framing/RE-256-system-family-type-parameters.md.docs/status.md, a dated addendum indocs/rvt-moat-break-reconnaissance.md, andchangelog.d/added/system-family-type-parameters.md.The commits run feat → test → research → docs.
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 -- --checkpasses.cargo clippy --workspace --all-targets --all-features -- -D warningspasses.cargo doc -p rvt --no-depspasses withRUSTDOCFLAGS='-D warnings'.cargo +1.87 check --profile ci --all-targets(the MSRV job) passes.RUSTFLAGS='-D warnings -D unnameable_types' cargo check --lib --binspasses.tools/ci/verify-real-files.sh --profile ci --no-fail-fastpasses 264 of 264. It ran withRVT_SAMPLES_DIR(phi-agd2eb1f3's Autodesk families),RVT_PROJECT_CORPUS_DIR(magnetarfd755e1with RE1 andr2025/) andRVT_NORDIC_LCA_DIR(the BIM4LCA office as built and at permit and the housing on terrain) set, so the new test ran rather than skipped.Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it
rvt-elements --no-typed MODEL.rvtonmainand on this branch, thentools/re/system_type_parameters_vs_ifc.py. It compares each property Revit's export writes in its own sets on the type object of a wall, slab, covering or roof with the element's type-level values. The oracle is Snowdon Towers Architectural (Revit 2025) with my export made with "Export Revit property sets", the RE-210 evidence. That export can't be redistributed, so this part is local only, as RE-210's was:mainIdentity Data.Type NameIdentity Data.Assembly CodeIdentity Data.Type MarkIdentity Data.Fire Rating(walls)Materials and Finishes.Parapet Cap MaterialWidthis the layers' sum,Functionand the wrapping settings are written as labels,Assembly Descriptionis looked up from the code, and the analytical properties come from the materials. Two coincidences are not counted: a slab type'sCoarse Scale Fill Color0 equals its Function 0, and two wall types' names equal their material's.rvt-elements' output differs frommain's only by the added type-level values. No other field of any element changes, and no element is added or lost: Snowdon Architectural; the BIM4LCA office as built and at permit and the housing on terrain (VTT, CC BY-SA 4.0); and the 23 R2025 models (puzzbobb, Apache-2.0, Sloped roofs need a Revit 2024/2025 pitched-roof oracle #356). The counts are in the report's §4.rvt-ifcwrites the same file asmainon all of them, apart from the timestamp. With--revit-property-setsit does too, except on the two office files, where 5 roof types also carry their project parameterU_value(1.0) inIdentity Data: the type's record is read now, and RE-210 writes a type's named parameters. The office was exported without Revit's property sets, so whether Revit writes it there isn't measured.If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR
If this is a performance change: reran
tools/bench.shand attached the before / afterAudit-honesty checklist
changelog.d/<section>/(seechangelog.d/README.md), not inCHANGELOG.mdchangelog.d/added/system-family-type-parameters.md;tools/release/changelog.py checkpasses.Width, itsFunctionlabel) are not saved values and are not listed.RVT_PROJECT_CORPUS_DIRor arguments. The commits are authored and committed with GitHub's noreply address, and signed.examples/and a dated addendum todocs/rvt-moat-break-reconnaissance.mdare includedLegal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)testuser,111111,FY-20XX, etc.) and contain no real-world PIII declare that this format finding comes only from public byte observations of the reference models and Revit's own exports of them (CLEANROOM.md source 1); no Autodesk or ODA SDK source, disassembly or NDA material was used.
Breaking changes
None.
rvt-elementsand Python list more entries, all at leveltype; no entry changes.Screenshots or output samples
An R2025 wall (01_Walls, 2787):
{"group_type_id": null, "kind": "built_in", "level": "type", "name": null, "parameter_id": -1002001, "source_class": "BasicWallType", "source_element_id": 1982, "storage_type": "String", "value": "Wall 1", ...}Related issues
Refs #35. Follows #887 (RE-207).