Skip to content

chore(tools): the property-set scorer prints the values Revit writes most often where rvt-rs writes none (#35) - #992

Merged
DrunkOnJava merged 1 commit into
mainfrom
feat/psets-missing-values
Oct 25, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
feat/psets-missing-values

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

tools/re/psets_vs_ifc.py now 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.Span and IsExternal on 10,003 curtain mullions to Pset_WallCommon.ExtendToStructure on 607 walls and Pset_DoorCommon.FireExit on 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.
  • Measure run 40228451279 (--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.IsExternal False 9,505 / True 498, Pset_DoorCommon.FireExit False on all 266 doors, Pset_WallCommon.ExtendToStructure True 465 / False 142.

Audit-honesty checklist

  • README / docs reflect the current state after this PR (a research scorer; no capability changes)
  • No changelog fragment: research tooling, nothing a user runs
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content
  • No fixtures

Breaking changes

None.

@DrunkOnJava
DrunkOnJava merged commit 95f7918 into main Oct 25, 2026
30 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/psets-missing-values branch October 25, 2026 20:13
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.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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