Repository navigation
docs(research): values a project's own property set file places are out of W7's scope (#35) (RE-239) - #1017
Merged
Conversation
… rooms' saved parameters against the values Revit's export maps onto them (#35) (RE-239)
…et file's keyword and revit-ifc's setting names in every stream (#35) (RE-239)
…ut of W7's scope (#35) (RE-239)
…d parameters too (#35) (RE-239)
…xception # Conflicts: # docs/release-1.0-criteria.md
…ames the property set file, paths cut to their file name (#35) (RE-239)
…ut of W7's scope; the model keeps the export setup, not the file (#35) (RE-239)
DrunkOnJava
enabled auto-merge (squash)
October 26, 2026 06:09
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 09cdb7ebd8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…set census counts type objects' own sets (#35) (RE-239)
Merged
11 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 26, 2026
…ld themselves (#1018) (#1020) ## Summary `tools/re/psets_vs_ifc.py`, W7's property census, now also scores the property sets a type object holds itself (`IfcTypeObject.HasPropertySets`), keyed `type:<Tag>`. Before, every value on a type was outside the census on both sides. Closes #1018. ## Motivation RE-239's set census (#1017) found 1,618 `Pset_` values on the BIM4LCA office's type objects as built, which no scorer read. ## Changes - `tools/re/psets_vs_ifc.py`: the per-property reading is one function, used for each set related through `IfcRelDefinesByProperties` and for each type object's own `HasPropertySets`; a type object is keyed by its Tag, the type's ElementId, and counts as an object rvt-rs writes when rvt-rs writes a type object of that Tag. - `docs/release-1.0-criteria.md`: W7 states the type values measured. ## Testing Measure [40281586962](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40281586962) (`--ref` this branch, `-f ref=main` at c305931, `-f nordic=true -f r2025=true`), against `main`'s census of the same commit (the base side of [40281443280](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40281443280)): | model | Revit's values on objects rvt-rs writes | equal | different | missing | rvt-rs's that Revit does not write | |---|---|---|---|---|---| | office as built | 57,820 → 58,004 | 44,016 | 56 | 13,748 → 13,932 | 504 | | office at permit | 58,003 → 58,159 | 44,198 | 56 | 13,749 → 13,905 | 504 | | RE1 Architecture | 253 → 262 | 197 | 0 | 56 → 65 | 59 | | RE1 Mechanical | 205 → 208 | 183 | 0 | 22 → 25 | 1 | | RE1 Plumbing | 444 → 458 | 314 | 0 | 130 → 144 | 2 | | RE1 Electrical | 134 → 147 | 128 | 0 | 6 → 19 | 35 | | Core Interior | 0 | 0 | 0 | 0 | 4,130 | Every added value is missing: rvt-rs writes no set on a type object. On the office they are mostly `IsExternal` (41 door types, 26 wall types, 19 covering types, 15 slab types, 11 column types, ...), plus a few `LoadBearing`, `FireRating` and stair counts. The other type values Revit writes are on type objects rvt-rs does not write with the same Tag. - [x] Verified end to end on real Revit files (BIM4LCA office, VTT, CC BY-SA 4.0; RE1 and Core Interior, MIT; puzzbobb's R2025 models, Apache-2.0) - [x] IFC exporter untouched: no witness or fixture moves ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] No user-visible change: a research scorer, so no changelog fragment - [x] What stays missing is stated: the 184 office type values, by set and entity, in every Measure run - [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 ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [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
Records the maintainer's 2026-10-26 decision: a value that a project's export-time user-defined property set file maps into a set is out of W7's scope, and RE-239 lists those values per reference model with the evidence. W7's bar, the page's intro and its out-of-scope paragraph say so. On the BIM4LCA office that is 2,013 values as built and 1,938 at permit, and none on any other reference model.
Motivation
W7 (#35) asked for every property Revit's export writes. On the office about 2,000 of the values rvt-rs does not write come from the export's own property set file (RE-194 §4 found the file): glazing on walls, curtain walls and coverings, rooms'
OccupancyType,OccupancyNumberasIfcInteger, and sixFI_sets. The model does not store that file, so no reader can tell which parameter feeds which set on which entity. Griffin chose "State an exception (Recommended)": those values are listed per model, out of scope, and W7 stays reachable.Changes
reports/element-framing/RE-239-export-file-values.md: what the file places (§1); each value traced to the element's saved parameter: glazing on 607 of 607 walls, 290 of 290 curtain-wall objects and 21 of 21 coverings,OccupancyType=RoomTypeCodeon 234 of 234 rooms in both files (§2); why only the file decides (§3); what the model stores (§4); the per-model list (§5).examples/probe_re239_mapped_parameters.rs: every Yes/No and text value walls, curtain walls, coverings, members, plates and rooms save, plus a scan of every stream, stored and inflated, for the file's keywordPropertySet:, a set only the office's file defines (FI_Kohde), and revit-ifc's export setup names. It prints the setup's text afterExportUserDefinedPsets, with paths cut to their file name.tools/re/mapped_parameters_vs_psets.py: for each property Revit writes, which saved parameter holds its value.tools/re/set_census.py: every set Revit's export writes, by name, buildingSMART's (Pset_,Qto_) or not.docs/release-1.0-criteria.md: W7's bar, measured-now text and the out-of-scope paragraph; quantities, which the census shows W7 has never measured, are cited as W7: Revit's base quantities: the census runs, and what is left is on #1046, #1165, #1203, #1207, #1208 and #1209 #1016.docs/rvt-moat-break-reconnaissance.md: addendum, a model keeps its IFC export setup and not the file it names.changelog.d/research/export-file-values.md.Testing
No code change to the library or CLIs; the probe and scorers ran end to end on GitHub's runners:
Measure 40276486381 (
-f nordic=true -f r2025=true -f probe=probe_re239_mapped_parameters -f probe_scorer=mapped_parameters_vs_psets, on f049873): the parameter matches above. Members and plates hold no saved Yes/No or text value: the 10,003 mullions none, the 260 panels only two empty IFC export parameters. The scan:PropertySet:andFI_Kohdeoccur 0 times in all 31 models. The office's two models each store oneIFCExportConfigurationwith"ExportUserDefinedPsets":trueand a file namedLCA_Properties_export_….txt. Core Interior's stored setup has itfalse; RE1, R2025 and Einhoven store none.Measure 40275298500 (
-f probe=basics_inspect -f probe_scorer=set_census): the office's sixFI_sets (32 values as built, 31 at permit) and its 52,038Qto_values (W7: Revit's base quantities: the census runs, and what is left is on #1046, #1165, #1203, #1207, #1208 and #1209 #1016). No other model writes a set outsidePset_/Qto_.Measure 40272461335 (
psets_vs_ifclisting every space missingOccupancyType,mainat f0369be), joined by room number (by ElementId for the 43 rooms without one) to the RE-235 probe'sRoomTypeCode: 234 of 234 equal on both files.python3 tools/release/changelog.py checkandpython3 tools/ci/api-doc-ids.pypass.Verified end to end on real Revit files (BIM4LCA office, VTT, CC BY-SA 4.0; RE1, MIT; puzzbobb's R2025 models, Apache-2.0; Core Interior, MIT)
IFC exporter untouched: no witness or fixture moves
Audit-honesty checklist
changelog.d/IsExternal, sloped slabs'PitchAngle, beams'Span/Slope/Rollstay in W7 (RE-239 §5), and quantities are unmeasured (W7: Revit's base quantities: the census runs, and what is left is on #1046, #1165, #1203, #1207, #1208 and #1209 #1016)Legal and contribution hygiene
ExporterInitializer_PsetDef.cs,IFCCertifiedEntitiesAndPSets.json,IFC-SG Property Mapping Export.txt) was read for what its export does and not copied; only identifier constants (ExportUserDefinedPsets,IFCExportConfiguration, the keywordPropertySet:) are reproduced (CLEANROOM.md source 5).Breaking changes
None.