Skip to content

docs(research): values a project's own property set file places are out of W7's scope (#35) (RE-239) - #1017

Merged
DrunkOnJava merged 10 commits into
mainfrom
docs/w7-export-file-exception
Oct 26, 2026
Merged

DrunkOnJava merged 10 commits into
mainfrom
docs/w7-export-file-exception

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

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, OccupancyNumber as IfcInteger, and six FI_ 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 = RoomTypeCode on 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 keyword PropertySet:, a set only the office's file defines (FI_Kohde), and revit-ifc's export setup names. It prints the setup's text after ExportUserDefinedPsets, 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: and FI_Kohde occur 0 times in all 31 models. The office's two models each store one IFCExportConfiguration with "ExportUserDefinedPsets":true and a file named LCA_Properties_export_….txt. Core Interior's stored setup has it false; RE1, R2025 and Einhoven store none.

  • Measure 40275298500 (-f probe=basics_inspect -f probe_scorer=set_census): the office's six FI_ sets (32 values as built, 31 at permit) and its 52,038 Qto_ 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 outside Pset_/Qto_.

  • Measure 40272461335 (psets_vs_ifc listing every space missing OccupancyType, main at f0369be), joined by room number (by ElementId for the 43 rooms without one) to the RE-235 probe's RoomTypeCode: 234 of 234 equal on both files.

  • python3 tools/release/changelog.py check and python3 tools/ci/api-doc-ids.py pass.

  • 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

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment under changelog.d/
  • What stays missing is stated: mullions' and panels' IsExternal, sloped slabs' PitchAngle, beams' Span/Slope/Roll stay 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)
  • 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; the probe cuts every path in the export setup to its file name
  • Reverse-engineering finding: report, probe, scorers, measured counts against Revit's own exports, and a dated addendum

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content. revit-ifc (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 keyword PropertySet:) are reproduced (CLEANROOM.md source 5).
  • No fixtures

Breaking changes

None.

… 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)
…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 DrunkOnJava added area:docs Work in the docs area. type:research Reverse engineering, discovery, or design investigation. labels Oct 26, 2026
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 26, 2026 06:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread tools/re/mapped_parameters_vs_psets.py Resolved
Comment thread tools/re/set_census.py Resolved
…set census counts type objects' own sets (#35) (RE-239)
…the type objects' sets the census misses (#35) (#1018) (RE-239)
@DrunkOnJava
DrunkOnJava merged commit c305931 into main Oct 26, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/w7-export-file-exception branch October 26, 2026 06:43
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.
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

area:docs Work in the docs area. type:research Reverse engineering, discovery, or design investigation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant