You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Revit 2015 BIMcollab example: 3 air terminals Revit's export leaves out, and 16 footings on no storey #879
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).
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.
Activity
docs(re): Revit 2015 against Revit 2015's own export of BIMcollab's s…
research(elements): the RE-209 probe prints the Levels and where the …
research(elements): the RE-209 probe finds Level ids near each footin…
research(elements): the RE-209 probe dumps each footing's bytes aroun…
research(elements): the RE-209 probe reads the 0x04b9 id lists near e…
docs(re): Revit 2015's element GlobalIds are not in the file, measure…
DrunkOnJava commentedon Oct 23, 2026
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, thenINSTANCE_SCHEDULE_ONLY_LEVEL_PARAM, thenINSTANCE_REFERENCE_LEVEL_PARAM, and otherwise the element'sLevelId(revit-ifcLevelUtil.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_boundis 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:u64at +346 and +374 from the record, 16 of 16;u16 0x04b9 · u32 n · n × u32id list holds it for 15 footings alone and for 1 among others.Neither is a field:
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
IfcGridwith noTag. That is fixed on the branch with its next commit.research(storeys): the RE-209 scorer skips contained products with no…
ci(measure): keep count-only identity lines for the held-out and BIMc…
docs: correct the element-set, 2015 and count claims the 2026-10-29 b…
research(ifc): Revit's Export to IFC parameter does not explain the s…
research(reader): a probe and a scorer for the Level and phases an el…
research(reader): the levels probe lists each element's own ElementId…
research(reader): the scorer tests an ElementId parameter against the…
research(reader): the scorer says what a footing's Level parameter ho…
research(reader): the scorer places Revit's footings against the stor…
research(reader): the native record framing holds on Revit 2015 to 20…
feat(reader): saved parameters and the phase order are read on Revit …
feat(ifc): Revit 2015 to 2023 elements have their Phase Created (#1190)…
docs(re): RE-198 gives BIMcollab's three air terminals as a count (#879)
docs: RE-342 records the contributor's run, the 1.0 page cites #1444,…
feat(ifc): the export phase is applied on Revit 2015, where a Revit e…
docs: every row of the contribution map carries its issue's own title…