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
Element record reference list at +0x88: attribute the remaining slots (leading 3, family/type/level ids) #228
area:elementsWork in the elements area.area:partitionsWork in the partitions area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
RE-23 (#226) established that every Revit 2024 element record carries a counted u64 reference list at +0x88 (length 6 on doors, 18 on windows, up to 101 elsewhere) and that the host wall is the slot before the record's own ElementId. The other slots are recorded, not decoded: a leading 3, and ids that look like family, type and level references (trailing type-symbol slots on 81 door records are RE-21 symbol envelopes). Attribute them with the set-difference method against the export (IfcRelDefinesByType, IfcRelContainedInSpatialStructure) — a level slot that reproduces the export's storey containment exactly would be a direct binding source (see #218/#219); keep #86 (Level ElementIds on magnetar) as the research wall it is unless the join is exact.
RE-161 (#630) narrows the leading 3. Measure runs 37146990738 and 37147380469, on Core Interior (2024) and the four RE1 models (2025).
Not a workset. None of the five files is workshared, yet the 3 leads most lists (17,544 of Core Interior's 22,337 records, 42 of 50 on RE1 Mechanical, 126 of 136 on Plumbing).
Not a parameter value. No BuiltInParameter entry in an element's own data objects holds the first slot's value. The one exception is Room Number on 95 of 286 rooms, which is a coincidence: a three-character room number's length prefix is 3.
ElementId 3 is declared by every file's ElemTable and has no name entry, so the slot most likely refers to that internal element. RE1 Architecture's records put a Level or a type in the same slot instead, which fits RE-155: the slots follow the record class's fields.
What is still open here is which internal element ElementId 3 is. Its record is not in the partitions' leading chain, so its class is not read yet. Nothing changes in code. Report: reports/element-framing/RE-161-leading-slot.md.
RE-168 (#667, reports/element-framing/RE-168-leading-slot-phase.md) answers what ElementId 3 is. Measure runs 37220480957 and 37220915687, on Core Interior (2024) and the four RE1 models (2025).
ElementId 3 is the ProjectPhase "New Construction" on Core Interior and RE1 Mechanical (on RE1 Architecture it is a fill pattern, "Solid fill").
The leading slot is the element's phase. Where a file's phases are 1 Existing and 3 New Construction (Core Interior, RE1 Mechanical, Plumbing and Electrical), the first slot is one of them on all but a handful of records: 3 on 17,544 of Core Interior's records, 126 of RE1 Plumbing's, 42 of Mechanical's; 1 on 1 to 3 records per RE1 MEP model.
RE1 Architecture is the exception: its phases are 12589 Existing and 86961 and 460975 New Construction, and most of its records lead with Level 311 (RE-155); 3 lead with its Existing phase.
Not told apart here: Phase Created or the phase shown, since no file demolishes anything. The slot's other positions (family, type, level) stand as RE-155 left them.
Closing: RE-155 (#601) placed the type and Level slots per category, and RE-168 (#667) the leading slot, the element's phase. RE1 Architecture's Level-first lists and the Phase Created versus phase-shown question are recorded in RE-168 section 4.
area:elementsWork in the elements area.area:partitionsWork in the partitions area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
Activity
feat(elements): cut wall bodies back by their joins and join columns …
feat(elements): cut wall bodies back by their joins and join columns …
feat(ifc): read the wall and column joins the element record names (#238
feat(elements): name pipes Pipe Types:<type> from the type in their r…
docs(backlog): B21 parameters progress (#596)
3 remaining items
fix(re): RE-155 probe sorts categories with sort_by_key (clippy) (#228)
research(elements): RE-155, an element record's reference list has no…
research(elements): RE-161 prints the name entry and ElemTable record…
docs(re): RE-161 report, the leading 3 of a reference list is Element…
style(examples): rustfmt the RE-161 probe (#228)
research(elements): RE-161, the leading 3 of a reference list is Elem…
docs(backlog): session 2 progress, B33 systems and B40 blocked on a m…
DrunkOnJava commentedon Oct 3, 2026
RE-161 (#630) narrows the leading 3. Measure runs 37146990738 and 37147380469, on Core Interior (2024) and the four RE1 models (2025).
What is still open here is which internal element ElementId 3 is. Its record is not in the partitions' leading chain, so its class is not read yet. Nothing changes in code. Report:
reports/element-framing/RE-161-leading-slot.md.docs(backlog): B33 and B39 landed; B39 narrowed, #228 open on Element…
research(b56): probe ElementId 3's data objects (#228)
research(re): RE-168, an element record's leading reference slot is i…
DrunkOnJava commentedon Oct 4, 2026
RE-168 (#667, reports/element-framing/RE-168-leading-slot-phase.md) answers what ElementId 3 is. Measure runs 37220480957 and 37220915687, on Core Interior (2024) and the four RE1 models (2025).
Not told apart here: Phase Created or the phase shown, since no file demolishes anything. The slot's other positions (family, type, level) stand as RE-155 left them.
DrunkOnJava commentedon Oct 4, 2026
Closing: RE-155 (#601) placed the type and Level slots per category, and RE-168 (#667) the leading slot, the element's phase. RE1 Architecture's Level-first lists and the Phase Created versus phase-shown question are recorded in RE-168 section 4.
docs: the docs name v0.5.1 as the latest release, each channel checked (