Repository navigation
fix(ifc): a roof, stair, stair flight or proxy with no IFC Predefined Type is NOTDEFINED, as Revit writes it (#1713) - #1970
Merged
Conversation
… Type is NOTDEFINED, as Revit writes it, on the releases measured (#1713)
Owner
Author
|
Measure 43545020975 (head b226d44 against main 0ce6c5d; nordic, r2025, samples and held-out models): diagnostics 102 of 102 equal, and the only scorer output that moved is
No model gains a "differs" or a NOTDEFINED that Revit leaves off, held-out ones included. The proxies still unset are, on every model, the one per BIM4LCA model that Revit writes as |
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 02:55
…4 only, the one release whose export exercises it (#1713) (RE-353)
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
A roof, stair, stair flight or building element proxy with no "IFC Predefined Type" of its own or its type's is now written with
PredefinedTypeNOTDEFINED, as Revit's export writes it, where rvt-rs wrote none. This applies on the releases measured: 2024 to 2026 for roofs, stairs and flights, and 2024 to 2027 for proxies. It is the furniture default of RE-419 extended to the rows of #1713's table that Revit writesNOTDEFINEDon: 25 roofs, 82 proxies, 6 stairs and 4 flights.Changes
fields.rs:NOTDEFINED_DEFAULTS, each entity with its releases. Furniture keepsFURNITURE_DEFAULT_REVIT_VERSIONS.types.rs: the release field is carried by every element whose class maps to one of those entities, as by furniture and casework.export_content.rs: the furniture default reads the table.On Revit 2027, a roof's, stair's and flight's occurrence carries no
PredefinedType(predefined_type_left_out, RE-427), so their default stops at 2026. A proxy is not one of those classes, and Revit 2027 writesNOTDEFINEDon every proxy (RE-427).Testing
Measure 43545020975, unfiltered against
mainwith nordic, r2025, samples and holdout. Registered before it runs, frompredefined_types_vs_ifc:IfcRoof,IfcBuildingElementProxy,IfcStairandIfcStairFlightrows: "same" rises by up to the unset counts of PredefinedType: Revit's export writes one that rvt-rs leaves none or NOTDEFINED on, on walls, railings, ramps, roofs, proxies, light fixtures, pipe segments and stairs (42 models with a Revit export) #1713's table, and "differs" does not rise on any model.Any "differs" that rises, on any class or release, narrows the table before this leaves draft.
tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Legal and contribution hygiene
Part of #1713.