Repository navigation
chore(tools): the property-set scorer prints the values Revit writes most often where rvt-rs writes none (#35) - #992
Merged
Conversation
…most often where rvt-rs writes none (#35)
12 of 13 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Oct 25, 2026
…ty alone where no <set>.<property> one gives it, as Revit's export does (#35) (RE-227) (#994) ## Summary A standard property now also takes a project or shared parameter named for the property alone (`FireExit`), where no `<set>.<property>` parameter gives it. Revit's export reads that name after the qualified one. On the BIM4LCA office that writes Revit's `Pset_DoorCommon.FireExit` on all 266 doors, and nothing else moves (RE-227). ## Motivation #992's listing of the values Revit writes where rvt-rs writes none shows `Pset_DoorCommon.FireExit` false on every office door. RE-227's census finds the office defines a parameter named `FireExit` alone. RE-194 reads only `<set>.<property>` names, while revit-ifc's `PropertySetEntryMap` (CLEANROOM.md source 5) also reads the bare property name after the qualified one. ## Changes - **`src/partition_schema_mvp.rs`** (`attach_named_parameters`): - Each definition named for a property alone is read for every standard set that holds a property of that name, and the parameter is scanned once. - The qualified value wins where an element has both. - Values are still written only in the sets that apply to the entity. - **`reports/element-framing/RE-227-standard-parameter-names.md`**, with `examples/probe_re227_parameter_names.rs`: the lookup order, the office's 58 qualified, 5 bare and 9 display-named definitions, and the measurement. - **README** and **`docs/supported-profile.md`**: the bare name. **`changelog.d/added/bare-named-parameters.md`**. The display names (`Floor Covering`, ...) are a separate slice. Following the maintainer's decision of 2026-10-25, they will be derived from the buildingSMART name by our own rule and used only once a Revit export confirms them; nothing is copied from revit-ifc. ## 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`: CI. - [x] Verified end to end on real Revit files: Measure [40231201823](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40231201823), this branch against `main`, `-f nordic=true`. - Equal values go from 32,167 to 32,433 as built and from 32,339 to 32,605 at permit: `Pset_DoorCommon.FireExit` on 266 of 266 doors. - Different values stay at 55, and values Revit does not write stay at 495 and 496. - Core Interior, Einhoven and the four RE1 models export byte for byte as before. - N/A: performance (the same scan, one more parameter). ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] A user-visible change has its entry as a fragment under `changelog.d/` - [x] Resolved limitations updated - [x] The four bare names that change nothing are stated - [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 - [x] Reverse-engineering finding: probe, report and measured counts against Revit's own export ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content. revit-ifc was read for what its export does and nothing was copied (CLEANROOM.md source 5). Its display-name table stays out of the tree. - [x] No fixtures ## Breaking changes None.
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
tools/re/psets_vs_ifc.pynow ends with the values Revit's export writes most often for each property rvt-rs writes none of. The 40 most-missing properties get their top four values each. Choosing the next W7 (properties) slice needs those values, and so far they meant opening Revit's export by hand. The BIM4LCA office's export exists only on Measure's runner.Motivation
On the BIM4LCA office, rvt-rs writes none of 25,598 property values Revit writes. They range from
Pset_MemberCommon.SpanandIsExternalon 10,003 curtain mullions toPset_WallCommon.ExtendToStructureon 607 walls andPset_DoorCommon.FireExiton 266 doors. For each, the values Revit writes show whether one rule or a decoded field would supply them.Changes
tools/re/psets_vs_ifc.py: counts Revit's values per (set, property) where rvt-rs writes none, and prints the four most common for the 40 most-missing properties. The docstring says so. Every line it printed before is unchanged.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: CI.--ref feat/psets-missing-values -f ref=main, both office files and R2025): the new section prints after the unchanged table; on the office as built it shows, among others,Pset_MemberCommon.IsExternalFalse 9,505 / True 498,Pset_DoorCommon.FireExitFalse on all 266 doors,Pset_WallCommon.ExtendToStructureTrue 465 / False 142.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.