Repository navigation
Description
Research follow-up to #204 / PR #210.
2024_Core_Interior.rvt carries 392 distinct ElementIds with a decodable OST_Columns partition element record and a bounding box. Revit's own full-project export emits 256 IFCCOLUMN. The 136 remainder (plus one record with no bbox) split cleanly:
- 17 are family-local: bbox centred on the plan origin, i.e. type/symbol envelopes. Ids
5755(theColumn_Sqaure : 24" x 24"symbol),19250,22374,24299,28008,53894,75407–75417. Several of those are referenced by exactly 24 instance records each, which is the size of a per-level column block on this file. - 119 are exact co-locations of an exported column: same bbox
mincorner, different top. E.g. id16347spansz 76.0 → 91.0where the exported id20375at the same(23.0, 109.0)spans76.0 → 90.33. The 8-inch difference is what attaching a column top to a slab does.
They form contiguous ElementId blocks of 23–24, exactly like the exported ones: 16347–16369, 22045–22068, 23134–23157, 26880–26903, 33748–33771.
The #204 decoder handles this by keeping the highest ElementId per footprint origin, on the reasoning that Revit allocates ids monotonically so the later element is the live one. That is empirically exact here — 256/256, zero false positives — but it is a heuristic dressed as a rule. Knowing what the superseded blocks actually are would let it be replaced by a direct test, and would very likely fix the precision problem for walls and doors too (#211).
Candidate explanations, none confirmed without a Revit session:
- superseded generations retained by the file's edit history
- members of a Revit group type definition, with the placed instances exported separately
- elements in a non-primary design option
- a phase whose filter excludes them from the ReferenceView export
Testable from the bytes: whether the superseded ids appear in any group / design-option / phase container record, and whether the Global/ElemTable words at +20 / +24 / +28 (which happen to separate these two sets exactly on columns — w28 ∉ {w20, 0xFFFFFFFF} — but not on walls or doors) carry a lifecycle epoch.
Activity
feat(elements): recover 256/256 IFCCOLUMN from Revit 2024 partition e…
fix(ifc): carry the element translation once, and follow the witness …
feat(walker): L5B-55 type-instance parameter resolution
feat(elements): recover 256/256 IFCCOLUMN from Revit 2024 partition e…
feat(elements): recover exact Wall/Door/Window/Column instance sets f…
fix(ifc): carry the element translation once, and follow the witness …