Skip to content

chore(tools): the property-set census scores the sets type objects hold themselves (#1018) - #1020

Merged
DrunkOnJava merged 3 commits into
mainfrom
feat/psets-type-objects
Oct 26, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
feat/psets-type-objects

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

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 (--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):

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.

  • 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)
  • IFC exporter untouched: no witness or fixture moves

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • No user-visible change: a research scorer, so no changelog fragment
  • What stays missing is stated: the 184 office type values, by set and entity, in every Measure run
  • 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 added area:ifc Work in the ifc area. type:research Reverse engineering, discovery, or design investigation. labels Oct 26, 2026
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 26, 2026 07:05
@DrunkOnJava
DrunkOnJava merged commit b35ecbe into main Oct 26, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/psets-type-objects branch October 26, 2026 07:11
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:ifc Work in the ifc area. type:research Reverse engineering, discovery, or design investigation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

W7: the property census does not read type objects' own property sets (1,618 values on the BIM4LCA office)

1 participant