Skip to content

Walls drawn taller than Revit's body on 78 of the BIM4LCA office's walls (RE-257) #1067

Open

Description

@DrunkOnJava

On the BIM4LCA office (Revit 2024), rvt-rs draws 78 of the 579 walls Revit's export gives a Qto_WallBaseQuantities.Height taller than Revit draws them as built, and 84 of 565 at building permit. rvt-rs's wall body is as tall as the wall's record box. On each of these walls Revit's own body is shorter, and its vertical span is exactly Revit's Height.

Measured by tools/re/wall_height_vs_qtos.py on examples/probe_re251_wall_numbers.rs's output (RE-257). The last column is the vertical span of Revit's body, from IfcOpenShell's geometry; all values are in feet:

Wall (as built) rvt-rs Revit's Height Revit's body Revit draws it as
1632093, 1636266, 1636317, 1636357 19.587 10.344 10.344 SweptSolid
1479272, 1630142 19.587 16.404 16.404 Tessellation
1457513, 1536395, 1656495 14.173 11.253 11.253 Tessellation
  • As built, 32 of the 78 are SweptSolid in Revit's export and 46 Tessellation; at permit, 33 and 51.
  • On 77 of the 78, the wall's saved Unconnected Height (-1001101) is as tall as rvt-rs's body. So the record box and the saved parameter both describe the uncut wall.
  • No field of the wall's native record separates these walls from the 501 whose height is Revit's. The best single value, the roof join's JoinToRoofGStep.m_leadingIdx = -1, is on 61 of them and on 30 others.
  • On puzzbobb's R2025 models (Revit 2025), rvt-rs's depth is Revit's Height on all 117 walls, the 32 attached to roofs included.

What is owed: read what cuts these walls' solids in the office's Revit 2024 records (a roof or floor join's cut, or an attachment the record box does not follow), so the body and then its Height are Revit's. The Tessellation ones are probably cut by a sloped roof. On the SweptSolid ones, Revit's body is a plain extrusion about half the record box's height.

Runs: Measure 40501460421 (office, with Revit's bodies) and 40490349469 (office and R2025).

Blocks W6 of docs/release-1.0-criteria.md ("every element's body is Revit's own shape"), and through it W7 (the walls' Height). Report: RE-257 (#1068).

Activity

  1. added
    area:elements
    area:geometry
    priority:P2
    type:bug
    on Oct 27, 2026
  2. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Narrowed with tools/re/wall_heights_vs_ifc.py (branch re/wall-cuts). It meshes every IfcWall in rvt-rs's IFC and Revit's and compares each body's lowest and highest point by Tag. Measure 40509396187:

    Model Walls Base and top Revit's Only the base Revit's Only the top Revit's
    BIM4LCA office as built 607 522 65 20
    BIM4LCA office at permit 589 495 70 24
    Core Interior 360 360 0 0
    R2025 models (22) 117 117 0 0
    • No wall has both ends wrong, and every miss is in the storey Revit puts it in. So these walls are not misplaced: Revit cuts one end.
    • Where Revit lowers the top, the amounts look like slab and roof thicknesses: 0.656 ft (0.2 m), 1.214 ft (0.37 m), 2.526 ft (0.77 m), 3.182 ft (0.97 m) and 9.242 ft (2.817 m), mostly on Level_04 and Level_05.
    • Where Revit raises the base, the amounts are 0.656 ft and about 3 ft (14 walls, all in the Basement) and 8.202 ft (six walls on other levels).

    Next: test whether the floor, roof or footing a wall's end crosses gives Revit's cut. The scorer now counts that against Revit's ends (run 40510514300).

  3. 91 remaining items

  4. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Where this stands on main (e6201f4c), read on Measure 43662517205 (both office files, wall_heights_vs_ifc and wall_top_cover_vs_ifc, with Revit's IFC4 exports).

    The issue's own count is gone. wall_heights_vs_ifc gives every wall Revit's lowest and highest point: 607 of 607 as built and 589 of 589 at building permit. The 78 and 84 walls this issue opened with, whose bodies were as tall as their record boxes, are no longer taller in their span.

    What is left is the shape of the top over the plan. wall_top_cover_vs_ifc samples each wall's top on a grid of plan points against Revit's body. 590 of 607 walls are equal everywhere as built (RE-320 had 583), and 579 of 589 at permit (571).

    • As built, taller on part of the plan (14):
    • As built, lower on part (3): 1348537 (2 of 1,232), 2215038 (1 of 1,765) and 2984610 (1 of 439).
    • At permit, taller (8): 1347198 (2 of 1,963), 2293083 (5), 2300434 (5), 2500627 (1), 2601954 (370 of 380), 2602205 (365 of 375), 3128241 (1) and 3128245 (4). Lower (2): 2215038 and 2984610.
    • RE-320 §7's 1344124 and 3004978 are now equal on both files.

    So the remaining work is RE-320 §7's: the layers Revit ends at different heights (the four finish-layer walls), and a top Revit cuts at a height no join names (2602205, 2601954, 1494012). Plus #1474's pair and three walls off by a few sample points. Wall Height on the stepped walls is still not written, for the reason RE-320 §5 gives. This stays open for those. A per-layer top rule would rest on the four finish-layer walls of this one project.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementsarea:geometrypriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions