Skip to content

research(elements): RE-154 Revit's common property sets take Reference from the type name (#35) - #590

Merged
DrunkOnJava merged 3 commits into
mainfrom
re/re154-pset-parameters
Oct 3, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
re/re154-pset-parameters

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

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_parameters scans inflated RVT partitions for verified data objects (RE-153) and BuiltInParameter text entries, parses a sibling Revit IFC export for Pset_*Common text 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: Reference in common property sets matches the type name, not any stored text parameter; FireRating appears on the wall type but several parameter ids collide on the value "2"; Finish and SerialNumber are not explained by element/type stored text entries. It notes that Reference can later be sourced from type names rvt-rs already reads (RE-38).

Reviewed by Cursor Bugbot for commit ca98147. Configure here.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 3, 2026 15:32
@DrunkOnJava
DrunkOnJava merged commit 5dc9b62 into main Oct 3, 2026
22 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/re154-pset-parameters branch October 3, 2026 15:36
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant