Repository navigation
feat(ifc): a railing with no predefined type of its own or its type's is NOTDEFINED on Revit 2024 to 2026, as Revit's export writes it (#1713) - #2000
Merged
Conversation
… is NOTDEFINED on Revit 2024 to 2026, as Revit's export writes it (#1713)
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 08:33
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 railing with no "IFC Predefined Type" of its own or its type's is written with the
PredefinedTypeNOTDEFINEDon Revit 2024 to 2026, as Revit's export writes it. #1765 made a railing take its own or its type's value; the railings with none stayed unset: 18 on the public models with a Revit export (the BIM4LCA office files and the R2025 models 13 to 17) and 6 on the held-out pairs of 2024 to 2026, eachNOTDEFINEDin Revit's export. The entry joins furniture, roofs, stairs, stair flights and proxies inNOTDEFINED_DEFAULTS. Part of #1713.Motivation
#1713's table:
IfcRailing378 in both, 360 same after #1765, 18 unset where Revit writesNOTDEFINED. The scorer of the baseline run (Measure 43573832361,mainatdc6b4721) shows every one of the 18 and no railing where Revit writes another value: the four BIM4LCA office files 1, 1, 3 and 3 (2024), the R2025 models 13 to 17 two each (2025), the held-out pairs of 2024, 2025 and 2026 two each; the 2022 pair's two are unset too, but a 2022 file's export parameters are not read, so the default cannot tell a railing with a value from one without, and the 2027 pair's two carry no value in Revit's export.Changes
src/research/partition_schema_mvp/fields.rs:("IFCRAILING", &[2024, 2025, 2026])inNOTDEFINED_DEFAULTS, with its evidence in the table's doc comment.Testing
Registered before the run. Measure unfiltered against
main, with nordic, r2025, samples, holdout and racadv:IfcRailing"unset in rvt-rs" goes from 1, 1, 3, 3 and 2 each to 0 and "same" rises by the same; "differs" and "NOTDEFINED where Revit writes none" stay 0 on every model.main's; diagnostics move only in counts the new values feed.same-project gatespass.tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Result
Measure 43574375317:
ca150450againstmainatdc6b4721, unfiltered with nordic, r2025, samples, holdout and racadv.IfcRailing"unset in rvt-rs" goes to 0 and "same" rises by the same on every model that had one: the office as built and at permit 1 each (41 of 41), the timber office as built and at permit 3 each (41 of 41), and the R2025 models 13 to 17 two each (2 of 2). "Differs" and "NOTDEFINED where Revit writes none" are 0 on every model, as before.diagnostics.jsonfiles are identical: the three held-out pairs, the four office files, the R2025 models 13 to 17, RE1 Architecture (Revit 2025; its Revit export is IFC2X3, which has noPredefinedTypeon a railing, so it is not scored), and 13 Autodesk samples with no Revit export (rac_basic,rac_advanced,rme_basicandrme_advancedof 2024, 2025 and 2026, and Snowdon Towers architectural). The other 100 are byte-identical. The 42 scorer lines that move are the railing rows above.same-project gatespass onca150450, and so does the semantic check (1 finding in 42 models).Audit-honesty checklist
Legal and contribution hygiene
revit-ifc'sIFCExportInfoPairis cited, not quoted); no fixtures.Breaking changes
None.
Related issues
Part of #1713.