Skip to content

feat(ifc): a column that names three or more Levels, and a footing that names none, are put in a storey on Revit 2027, as in the one structural model that holds them (#1842) (RE-469) - #2013

Merged
DrunkOnJava merged 4 commits into
mainfrom
feat/1842-column-footing-storeys
Nov 15, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

On Revit 2027, a column whose element record names three or more Levels is put in the storey of the highest of them at or below its record box's base (else the lowest), and a footing whose record names no Level in the storey of the highest Level of the model at or below its base. A field reporter's Revit 2027 structural model (counts only, #1842) holds 48 such (structural) columns and 88 such footings; the storey-rule scorer of their run puts 48 of 48 columns (<base) and 88 of 88 footings (base*) in the storey Revit's export has them in, where 0.22.0 left 48 columns and 3 footings on no storey and 6 footings on another. Both rules rest on that model alone (no model of ours with Revit's export holds either case), so they apply to Revit 2027 only (RE-353), are listed under "Rules that rest on one project", and mark each element they place with a LevelBindSource of their own (partition_element_record_column_base_level, ..._footing_base_level). Part of #1842. The reporter's run of the build of this head read all four rows registered before it as holding (comment of 2026-11-15).

Motivation

#1842: the reporter's run of probe_1842_storey_rules and storey_rules_vs_ifc.py on a newer save, scored against the rows registered on the issue before the run (comment 6876940245). RE-469 has the table.

Changes

  • src/research/element_record_level_refs.rs: below_base_level and the two source values.
  • src/research/partition_schema_mvp.rs: a column keeps the Levels it names when it names more than two.
  • src/research/partition_schema_mvp/levels.rs: resolve_base_constraint_levels takes the release and binds the two cases on 2027.
  • tests/value_sources_offsets.rs: the two new values, with the other bind sources.
  • RE-469, docs/export-diagnostics.md, docs/one-project-rules.md, a changelog fragment.

Testing

Registered before the runs. Measure, unfiltered with nordic, r2025, samples, holdout and racadv: (1) no export of a model we hold with a Revit export moves, since none holds either case; (2) the held-out 2027 pairs (counts only) do not move. The reporter's own save, run with a probe build of this head: (3) the 48 columns and 88 footings read Revit's storey in ours, (4) the 51 elements on no storey go to 0, and (5) no other class's ours changes.

Measure 43593169935 (dbfbe6b1 against main at 16e7b089): rows 1 and 2 hold: 126 of 126 exports and 102 of 102 diagnostics.json files are identical, no scorer line moves on any model, held-out 2027 pairs included, and same-project gates passes (15 samples held). The second reader found two cases the rules reached beyond the evidence (a footing that names two Levels, and an architectural column), and the head 56f721a2 narrows both: the footing rule needs a record that names no Level, and the column rule a StructuralColumn (the reporter's Structural Columns category). That is a code change, so the head has its own Measure, 43658890673 (nordic, r2025, samples, holdout, racadv, against main at 0cc8c061); its result goes here when it reads.

The reporter's run of the probe build of the head (43593171560), same save and same export as the table before it, counts only (#1842, comment of 2026-11-15), read the rows registered before it:

  1. Holds. IFCCOLUMN 3+ reads ours 48 (was 0), all in Revit's storey; IFCFOOTING 0 reads ours 88 (was 79).
  2. Holds. None of the 48 columns and 3 footings that were on no storey is on none now: ours is 48 of 48 and 88 of 88, all in Revit's storey.
  3. Holds. The only lines that change against the reporter's last table are those five (the two per-pattern column rows, the footing row and their two totals); the landings and flights read ours 0 and 1 as before, being parts of their stair.

RE-469 section 3 has the table.

  • tools/check-local.sh: no local builds; rustfmt --check passes; CI runs the rest.

Audit-honesty checklist

  • The Summary states each change the run showed, with its count.
  • A changelog fragment.
  • No private paths or emojis.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source (the rules are Revit's measured export on one model; revit-ifc's LevelUtil.FindAllLevels is cited for what Revit writes, not quoted); no fixtures.

Breaking changes

None on Revit 2015 to 2026. On 2027 a column naming three or more Levels, and a footing naming none, move from no storey (or the storey the elevation join gave) to the Level rule's storey.

Related issues

Part of #1842.

…at names none, are put in a storey on Revit 2027, as in the one structural model that holds them (#1842) (RE-469)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 15, 2026 00:30
…re left as they were: the rules cover the cases measured (#1842) (RE-469)
@DrunkOnJava
DrunkOnJava merged commit ac1ff34 into main Nov 15, 2026
38 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/1842-column-footing-storeys branch November 15, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant