Repository navigation
chore(tools): the property-set census scores the sets type objects hold themselves (#1018) - #1020
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 26, 2026 07:05
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
tools/re/psets_vs_ifc.py, W7's property census, now also scores the property sets a type object holds itself (IfcTypeObject.HasPropertySets), keyedtype:<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 throughIfcRelDefinesByPropertiesand for each type object's ownHasPropertySets; 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 (
--refthis branch,-f ref=mainat c305931,-f nordic=true -f r2025=true), againstmain's census of the same commit (the base side of 40281443280):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 fewLoadBearing,FireRatingand stair counts. The other type values Revit writes are on type objects rvt-rs does not write with the same Tag.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.