Skip to content

Explain the 137 OST_Columns elements Revit's exporter omits #216

Closed

Description

@DrunkOnJava

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 (the Column_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 min corner, different top. E.g. id 16347 spans z 76.0 → 91.0 where the exported id 20375 at the same (23.0, 109.0) spans 76.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.

Related: #204, #211.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions