Skip to content

Revit 2015 BIMcollab example: 3 air terminals Revit's export leaves out, and 16 footings on no storey #879

Open

Description

@DrunkOnJava

What

On BIMcollab's Revit 2015 structural example scored against Revit 2015's own export (RE-198), rvt-rs writes every one of the export's 241 elements, plus 3 it leaves out. Two other differences show up:

  • Three air terminals Revit's export leaves out: 3 IfcAirTerminal (category Air Terminals, no storey). Their ids are older than every element the export holds (392844 to 407741), so they are not later additions. Why Revit's exporter skipped them is unknown: phase, workset or visibility, an export setting, or nesting.
  • Sixteen footings on no storey. Revit's export contains all 16 IfcFooting in a storey. rvt-rs writes them with no storey (unsupported_geometry_missing_level counts 19: these 16 plus the 3 terminals).

Evidence

Measure run 39580240447, -f bimcollab=true, main at 2dbc8b8: class_sets_vs_ifc (extra IfcAirTerminal 3) and storeys_vs_ifc (16 IfcFooting on no storey).

Done when

Each of the three is explained by a decoded fact, such as phase, workset or a nesting reference, and left out where Revit leaves it out. The footings sit in the storey of the Level their record names, measured on a second 2015 file, because this one is held out (RE-198).

Activity

  1. added
    area:elements
    priority:P2
    type:bug
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 23, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress on the 16 footings, from the RE-209 probe and scorer on re/879-2015-footings (Measure 39995076192, -f bimcollab=true -f samples=true).

    What Revit uses. All 16 footings are on Revit's storey "-01 Foundation" (−800 mm). That storey is Level 407508 ("KS_PL -01. Fundering", −2.6247 ft), which is also each footing's box top. Revit's exporter takes a family instance's storey from its level parameters: FAMILY_BASE_LEVEL_PARAM, then INSTANCE_SCHEDULE_ONLY_LEVEL_PARAM, then INSTANCE_REFERENCE_LEVEL_PARAM, and otherwise the element's LevelId (revit-ifc LevelUtil.GetBaseLevelIdForElement, CLEANROOM.md source 5). It never places one by height. So the footings' Level is a saved parameter, not a placement rule.

    What the 2015 records give. The footings' decoded fields name no Level: m_level_bound is false, and their reference list is [3, 1574, <type>]. Six columns on "00 Ground floor" name none either. Level 407508 does appear near every footing record:

    • on BIMcollab it is a u64 at +346 and +374 from the record, 16 of 16;
    • a u16 0x04b9 · u32 n · n × u32 id list holds it for 15 footings alone and for 1 among others.

    Neither is a field:

    • The +346 offset does not carry to the 2015 samples: rst_advanced (294 footings) and rac_basic (23) put the Level at other offsets.
    • On rst_advanced, one 0x04b9 list sits 253, 450, … 1,881 bytes from 9 consecutive footings, steps of 197. Those are distances from one list to records written one after another, not a list of each footing's own.

    Next. Read the footings' level parameter from their saved parameters. #887's reader covers Revit 2023 to 2027 only, so 2015 needs the same parameter store read in the 32-bit layout. The same reader would give the storeys' GlobalIds on this file: RE-208 (#928) found all 5 stored exactly as each Level's IfcGUID parameter.

    The three air terminals (124771, 148100, 221553) are not explained yet. They reference [1373, 8668, 8678, …], and the phase reader that might separate them is 2024/2025 only.

    The scorer also stops on Core Interior at an IfcGrid with no Tag. That is fixed on the branch with its next commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementspriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions