Skip to content

Element record reference list at +0x88: attribute the remaining slots (leading 3, family/type/level ids) #228

Closed

Description

@DrunkOnJava

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.

Activity

  1. self-assigned this
    on Aug 30, 2026
  2. added
    area:elements
    area:partitions
    priority:P2
    type:research
    type:feature
    and removed
    type:feature
    on Sep 30, 2026
  3. 3 remaining items

  4. DrunkOnJava commented on Oct 3, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  5. DrunkOnJava commented on Oct 4, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  6. DrunkOnJava commented on Oct 4, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

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

Metadata

Metadata

Assignees

Labels

area:elementsarea:partitionspriority:P2type:research

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions