Skip to content

W7: Revit's base quantities: the census runs, and what is left is on #1046, #1165, #1203, #1207, #1208 and #1209 #1016

Open

Description

@DrunkOnJava

Status 2026-11-05. The census exists (tools/re/qtos_vs_ifc.py, tools/re/set_census.py) and docs/release-1.0-criteria.md carries its current counts. What remains is on #1046, #1165, #1203, #1207, #1208 and #1209; this stays open as W7's quantity umbrella until they close.

W7 of docs/release-1.0-criteria.md asks for every property set, property and quantity Revit's export writes. The quantities have never been measured: tools/re/psets_vs_ifc.py, the W7 census, reads only IfcPropertySets named Pset_, so an IfcElementQuantity is not counted on either side.

tools/re/set_census.py (RE-239, Measure run 40275298500) counts what Revit's exports write:

model Qto_ sets objects values
BIM4LCA office as built 18 12,910 52,038
BIM4LCA office at permit 18 12,951 52,193
puzzbobb's R2025 models 1,543 in all
RE1 (IFC2X3), Core Interior 0 0 0

On the office as built:

set objects values
Qto_MemberBaseQuantities 10,003 40,012
Qto_WallBaseQuantities 607 5,424
Qto_ColumnBaseQuantities 279 1,395
Qto_OpeningElementBaseQuantities 411 1,190
Qto_DoorBaseQuantities 269 853
Qto_WindowBaseQuantities 269 807
Qto_SpaceBaseQuantities 308 678
Qto_PlateBaseQuantities 260 517
Qto_CoveringBaseQuantities 111 359
Qto_SlabBaseQuantities 63 340
Qto_CurtainWallQuantities 220 220
seven more (stair flights, beams, pipe segments, railings, proxies, ramp flights, air terminals) 110 243

rvt-rs writes a few today (Qto_SlabBaseQuantities from from_decoded, pipe and duct segment quantities in export_content), unmeasured against these.

What is owed:

  1. A quantity census beside psets_vs_ifc: equal (in each file's own units, within the scorers' tolerance), different, missing, values Revit does not write, per (set, quantity) and per entity.
  2. revit-ifc (CLEANROOM.md source 5) computes these from the geometry it exports, so each quantity follows from a body rvt-rs already draws exactly or from a stored value; a quantity of a body that is not yet Revit's own waits for that body (W4, W6), and is reported as such rather than computed from an approximation.

Activity

  1. added
    area:ifc
    priority:P1
    type:feature
    on Oct 26, 2026
  2. 286 remaining items

  3. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Qto_DoorBaseQuantities.Perimeter (Revit's export writes it on 46 of the BIM4LCA office's 269 doors as built, 42 on the timber office and 14 on the concrete housing; rvt-rs writes none): what the value is, and why it stays out.

    • On all 46 doors of the office as built it is the perimeter of the profile of the last item of the door's Body representation in Revit's export (the last extruded solid of the mapped representation), equal to a relative 1e-6 on 46 of 46, checked on the STEP text of the reference IFC.
    • It is not 2 × (Width + Height) of the same set on any of the 46, and two door types of one size get different values (both 1,800 × 2,100 mm: 3,764 mm and 1,810 mm), so neither the type's size nor the opening gives it. Which solid comes last differs by family: a threshold on one type, a leaf on another.
    • rvt-rs draws a door from the mesh Revit saved and decodes none of the solids Revit's export splits a door into, so no rule it can compute reaches the value. Nothing is written (fail closed).
    • Windows: Revit's export writes no Qto_WindowBaseQuantities.Perimeter on the office, and the census shows none on the timber office or the housing.

    Not checked: the 42 and 14 doors of the timber office and the housing against the same reading (their reference IFCs were not read here), and whether the order of a door's solids can be read from the family's own records. Found in the worker pilot (a worker traced 6 doors by hand; the 46 of 46 is a script over the reference IFC).

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:ifcpriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions