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
Snowdon: 6 slabs in the Legends phase are not in Revit's export (phase filtering) #328
On Snowdon Towers Architectural (Revit 2024, local only), Revit's own IFC4 export omits 6 slabs, 2287679 to 2287714, that carry no design option (RE-35 §5, RE-40 §3). They are the only elements rvt-rs exports outside Revit's export that the #309 type omissions do not explain.
Each exported element's frame reference list names exactly one OST_Phases (−2000112) record:
The phase names come from name entries shaped like RE-40's design-option entries: u64 id · u32 · u32 size · u32 0x0c82 · … · 0xff run · u32 n · UTF-16 name. The Legends phase's description reads "Phase used for creating legends".
What is missing
Revit's IFC exporter exports one phase: by default the phase of the view it exports from, and an element created in a later phase is not shown in it. rvt-rs does not know:
which phase the export uses;
the phase sequence (the ids are not in sequence order, and the phase records carry no obvious ordinal).
Leaving out "the last phase" or "a phase named Legends" would be a guess, so nothing is filtered yet.
To do
Find the phase sequence, for example a phase-order list in Global/Latest or in the phase records' chain bodies.
Find the phase an export would use, for example the default 3D view's phase parameter.
Then leave out elements created after the export phase (and demolished at or before it, once a demolished-phase reference is found), report them as a skipped item, and require zero exported elements dropped on the files that have Revit exports.
where x differs per list (2403931, 2408021, 2408024). If the first three ids are the phase sequence, Legends is the last phase, and elements created in it are not shown in a New Construction view. That would explain the 6 slabs, if Revit's export used New Construction.
Near the Legends phase's own name entry (Partitions/680x6fad516) there is also a list u32 3 · 2287613 · 32440 · 118390, in a different order, so the order is not yet established.
The lists sit in OST_RvtLinks records (2403931, 2409045, …), i.e. Revit link instances, which carry a host-to-link phase mapping. That supports reading the three ids as the host's phases in sequence. In the first list x is the link record's own id (2403931). The other two values (2408021, 2408024) have no partition record.
More measurements, 2026-09-23. Still no rule, so nothing is filtered yet.
Other oracles. Core Interior, RE1 Architecture and Projeto1 have two phases each. Every placed element that names a phase names the second, New Construction (Core: 1,724 elements naming phase 3; RE1: 98 naming 86961). None names Existing, so these files cannot tell "the last phase" from "the phase model views use".
Snowdon. The Legends phase (2287613) is named by 19 partition records with no category at +0x12 (the 6 slabs and records around them) and by the 18 Revit link records' phase maps. No view record found names it. The 4 view records that name a phase name New Construction.
If the link maps' order (Existing, New Construction, Legends) is the phase sequence, Revit's export used a phase before the last one. So "export the last phase" is ruled out, and so is "export everything up to the last phase".
The next signal to look for is the phase of the view the export ran from, or the project's IFC export configuration (extensible storage). Both need a file whose Revit export used a non-default phase before they can be verified.
Progress, 2026-10-04 (#676, B46): the native record path now reads Revit 2025 and 2026. Its framing, record-count and body-size checks hold on all nine 2025 files (RE1 and Autodesk's samples) and all five 2026 samples. Every element body carries m_createdPhaseId and m_demolishedPhaseId, and tests/native_phases.rs checks them on RE1's exported family instances. No RE1 or Core Interior element is demolished, so phase filtering itself still has no 2025 evidence. On RE1 Plumbing, phase is not why Revit's export leaves out tank 442378: it was created in New Construction, is demolished in no phase, and is in the main model.
Activity
DrunkOnJava commentedon Sep 23, 2026
Lead, measured 2026-09-23: a candidate phase sequence.
Each of Snowdon's three partitions opens, within its first 0x300 bytes, with three counted lists of the form
where
xdiffers per list (2403931, 2408021, 2408024). If the first three ids are the phase sequence, Legends is the last phase, and elements created in it are not shown in a New Construction view. That would explain the 6 slabs, if Revit's export used New Construction.Near the Legends phase's own name entry (
Partitions/680x6fad516) there is also a listu32 3 · 2287613 · 32440 · 118390, in a different order, so the order is not yet established.The lists sit in
OST_RvtLinksrecords (2403931, 2409045, …), i.e. Revit link instances, which carry a host-to-link phase mapping. That supports reading the three ids as the host's phases in sequence. In the first listxis the link record's own id (2403931). The other two values (2408021, 2408024) have no partition record.Still missing: which phase the export used.
docs(readme): describe what rvt-rs reads from Revit 2024 and 2025 pro…
DrunkOnJava commentedon Sep 23, 2026
More measurements, 2026-09-23. Still no rule, so nothing is filtered yet.
+0x12(the 6 slabs and records around them) and by the 18 Revit link records' phase maps. No view record found names it. The 4 view records that name a phase name New Construction.The next signal to look for is the phase of the view the export ran from, or the project's IFC export configuration (extensible storage). Both need a file whose Revit export used a non-default phase before they can be verified.
docs(re): RE-160 report, an element's phases are not parameter entrie…
fix(examples): name the RE-160 probe's row type for clippy's type_com…
research(elements): RE-160, an element's phases are not parameter ent…
feat(native): the native record path reads Revit 2025 and 2026 (B46, #…
DrunkOnJava commentedon Oct 4, 2026
Progress, 2026-10-04 (#676, B46): the native record path now reads Revit 2025 and 2026. Its framing, record-count and body-size checks hold on all nine 2025 files (RE1 and Autodesk's samples) and all five 2026 samples. Every element body carries
m_createdPhaseIdandm_demolishedPhaseId, andtests/native_phases.rschecks them on RE1's exported family instances. No RE1 or Core Interior element is demolished, so phase filtering itself still has no 2025 evidence. On RE1 Plumbing, phase is not why Revit's export leaves out tank 442378: it was created in New Construction, is demolished in no phase, and is in the main model.research(re): RE-169, a family instance's ports are its symbol's conn…
19 remaining items
fix(ifc): leave out elements that do not exist in the export phase (D…