Repository navigation
research(elements): RE-154 Revit's common property sets take Reference from the type name (#35) - #590
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 15:32
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
…name (#35) (#592) B21, second slice of #35 (RE-154, #590). On all four RE1 models, Revit's export gives every element these Reference values, each holding the type's name: - Pset_QuantityTakeOff.Reference (IfcIdentifier); - its entity's common set's Reference (IfcIdentifier); - on walls and slabs, Pset_ReinforcementBarPitchOf{Wall,Slab}.Reference (IfcLabel). No stored parameter holds the value; rvt-rs reads the type name from the partition name entries (RE-38). **Commits** - **Test:** tests/common_reference.rs on the four RE1 models. Red on main in draft #591 (run 37133676030): 93 of Revit's values are missing on Architecture. The red output is in the commit message. - **Implementation:** each element named Family:Type:ElementId gets those sets. Only entities measured on the RE1 exports are listed. A door or window written as its opening (RE-84) gets none. - **Fix:** the first cut also skipped walls and slabs, whose types carry the no-geometry flag too. - **Pinned data**, with the maintainer's approval, in its own commit: - Core Interior step.IFCPROPERTYSET goes from 1086 to 2670. - The witness observations are regenerated (surface unchanged). **Measure** (run 37134311032, head against main) | model | property sets added | |---|---:| | Core Interior | 1,584 | | RE1 Architecture | 93 | | RE1 Electrical | 54 | | Einhoven | 21 | | RE1 Mechanical | 2 | Every scorer output is identical to main, and tests/common_reference.rs passes on the runners.
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.
Probe and report. On the four RE1 models, Revit's Pset_*Common Reference is the element's type name, not a stored text entry. FireRating is on the wall type, but a one-character value cannot pick its id among four. Finish and SerialNumber are not stored text entries. Measure run 37133239742.
Note
Low Risk
Adds only an example probe and markdown report; no changes to core parsing, export, or runtime paths.
Overview
Adds RE-154 research artefacts for issue #35 / backlog B21: a new Cargo example and an element-framing report. No library or export behaviour changes in this PR.
The example
probe_re154_pset_parametersscans inflated RVT partitions for verified data objects (RE-153) and BuiltInParameter text entries, parses a sibling Revit IFC export forPset_*Commontext properties, and emits JSON lines tallying matches on element vs type and candidate parameter ids.The report records Measure run results on the RE1 models and Core Interior:
Referencein common property sets matches the type name, not any stored text parameter;FireRatingappears on the wall type but several parameter ids collide on the value"2";FinishandSerialNumberare not explained by element/type stored text entries. It notes thatReferencecan later be sourced from type names rvt-rs already reads (RE-38).Reviewed by Cursor Bugbot for commit ca98147. Configure here.