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
Names for system-family types (walls, floors, roofs) from schema-serialised partition data #322
RE-38 names family instances Family:Type:ElementId from the partition name entries (u64 id · u32 n · UTF-16 · i64 category). Those entries cover loadable families and their types only. System-family types keep the Class-ElementId name:
wall types, floor, roof and ceiling types;
stair and railing types;
curtain-wall types.
That is 1,060 walls and 200 slabs on Snowdon Towers, plus every wall and slab on Core Interior.
What is measured
On 2024_Core_Interior.rvt, the wall type 17328 ("8" Interior Partition 3 Hour" in Revit's export) stores its name once, as UTF-16 in Partitions/46 at 0x1e61982. That is past the record chain (RE-35) and inside schema-serialised object data:
Revit's Name for these walls is Basic Wall:8" Interior Partition 3 Hour:<id>. The family part ("Basic Wall") is the system family's name and still has to be located.
To do
Walk this data with the Formats/Latest schema (as walker.rs does for Global/Latest) to read the type's name field, not a fixed offset.
Find the system family name ("Basic Wall", "Floor", "Basic Roof", …) for the Family part.
Extend tests/element_names.rs to walls and slabs on Core Interior (360 walls, 100 slabs with Revit names in 2024_Core_Interior_slim.ifc).
floor and pad types (Arch Topping Slab - 2", Basement Slab, Floor 1, Structural Slab, Site Pad)
01 00 00 00 ff ff ff ff 51 01 · u32 n
Each name occurs once in the partitions (6" Interior Partition twice). Every serialised element opens with ff ff ff ff d3 02 01 00 00 00 · u64 ElementId, the same header the design-option and phase name entries use (RE-40, #328). Taking the first length-prefixed UTF-16 string after that header finds 7 of the 9 type names. That is only a heuristic; a schema walk should replace it.
The family part is not stored. "Basic Wall" does not occur anywhere in the file, in any stream. "Floor" and "Pad" occur only inside other strings. Revit writes the system family's name from the type's kind in its own UI language, so Basic Wall:… cannot be read from the bytes. For system families rvt-rs can therefore recover the type name (for a TypeName property or the IfcWallType name) but not Revit's full Family:Type:ElementId, unless the kind is decoded and the English names are accepted as a convention.
The railings that still carry no type name (measured 2026-09-24, after RE-63): 30 on Snowdon Towers and 1 on RE1 Architecture.
The type join works. Each of these railings names exactly one railing type record, for example 2150350 "Road Striping" (20 railings), 1991402 "Gate" and 1081543 "Balustrade_23 w Piers".
The name read fails.
On Snowdon, these types' data does not open with the element-data header (ff ff ff ff d3 02 01 00 00 00). The object is 00…00 01 00 00 00 · u64 id with class tag 0x0fdb at +0x47. The name is not framed with a field tag either: it follows an unset ElementId slot, as ff×8 · u32 n · UTF-16 · ff ff ff ff 0b 02.
On RE1 (2025), type 446543 ("-") has class tag 0x103c and yet another layout.
The header-anchored name scan misses both. A rule anchored on the class tag and the unset-slot name would name Snowdon's 30. It is measured on one file only, so I left it unimplemented until a second file shows the same layout.
Activity
DrunkOnJava commentedon Sep 23, 2026
Measured 2026-09-23 on
2024_Core_Interior.rvt, against the 9 wall and floorObjectTypes in2024_Core_Interior_slim.ifc.The type part is stored, once, in one of two framings:
18" Basement,6" Interior Partition,6" Interior Partition 2 Hour,8" Interior Partition 3 Hour)ff ff ff ff 00 10 ff ff ff ff 02 10·u32 nArch Topping Slab - 2",Basement Slab,Floor 1,Structural Slab,Site Pad)01 00 00 00 ff ff ff ff 51 01·u32 nEach name occurs once in the partitions (
6" Interior Partitiontwice). Every serialised element opens withff ff ff ff d3 02 01 00 00 00·u64 ElementId, the same header the design-option and phase name entries use (RE-40, #328). Taking the first length-prefixed UTF-16 string after that header finds 7 of the 9 type names. That is only a heuristic; a schema walk should replace it.The family part is not stored. "Basic Wall" does not occur anywhere in the file, in any stream. "Floor" and "Pad" occur only inside other strings. Revit writes the system family's name from the type's kind in its own UI language, so
Basic Wall:…cannot be read from the bytes. For system families rvt-rs can therefore recover the type name (for aTypeNameproperty or theIfcWallTypename) but not Revit's fullFamily:Type:ElementId, unless the kind is decoded and the English names are accepted as a convention.feat(elements): name families that nest others of their category (#324)…
docs(readme): describe what rvt-rs reads from Revit 2024 and 2025 pro…
feat(ifc): honour Revit's IFC export overrides, the element's own and…
fix(ifc): write property text with ISO 10303-21 escapes, not raw UTF-8 (
feat(elements): export curtain walls as IfcCurtainWall aggregates of …
feat(ifc): name walls, floors, ceilings, roofs and railings Family:Ty…
DrunkOnJava commentedon Sep 24, 2026
The railings that still carry no type name (measured 2026-09-24, after RE-63): 30 on Snowdon Towers and 1 on RE1 Architecture.
ff ff ff ff d3 02 01 00 00 00). The object is00…00 01 00 00 00 · u64 idwith class tag 0x0fdb at +0x47. The name is not framed with a field tag either: it follows an unset ElementId slot, asff×8 ·u32 n· UTF-16 ·ff ff ff ff 0b 02.The header-anchored name scan misses both. A rule anchored on the class tag and the unset-slot name would name Snowdon's 30. It is measured on one file only, so I left it unimplemented until a second file shows the same layout.
feat(elements): name curtain panels that are walls, slab edges and ra…
feat(elements): name railings whose type has no element data, from th…
feat(elements): name railings whose type has no element data, from th…
feat(elements): carry each element's Type Mark, Description and Fire …
feat(elements): carry each element's Type Mark, Description and Fire …
feat(elements): name walls, floors, ceilings, roofs and railings with…
feat(elements): give Revit 2023 walls, floors and roofs their type (#421
feat(elements): curtain walls take their type's name from its native …
docs(status): the support matrix, status pages and viewer promise wha…