Skip to content

research(elements): RE-350 measures Rebar, Structural Beam Systems, Furniture Systems and RvtIO's 199 extra elements against 59 Revit exports (#1444) (#1445) - #1467

Merged
DrunkOnJava merged 12 commits into
mainfrom
research/1444-1445-category-census
Nov 5, 2026
Merged

DrunkOnJava merged 12 commits into
mainfrom
research/1444-1445-category-census

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

RE-350 measures, on every model with a Revit export, whether Revit's own export holds Rebar, Structural Beam Systems (RvtIO's "Structural Framing Systems") and Furniture Systems, and what the 192 curtain panels, 1 door, 4 mullions and 2 panels that RvtIO counts beyond rvt-rs on rac_advanced and rac_basic are. Results:

  • Rebar and Structural Beam Systems: no export shows them (0 of 60 hold a bar; the one export of a project with a beam system omits it and all its framing). Not added.
  • Furniture Systems: Revit's public IFC4 export of the 2018 rac_basic writes its 3 as IfcSystemFurnitureElement, and they are the sweep's 3 placed ones, Tag for Tag, 0 extra. The category meets the rule; it is held for a pull request of its own.
  • The 199 extras are FamilyInstance records in the main model that every save 2018 to 2027 holds with no frame of any category (no stored bounding box); no Revit export of the project writes any of them (0 of 6 in the IFC4 export, 0 of 193 in the IFC2X3 one). The sweep reads the same panels, mullions and doors on every save.

Nothing is written; PRODUCT_RECORD_CATEGORIES is unchanged.

Motivation

#1444 and #1445 (Discussion #1241): neither can be answered from RvtIO's counts. Each needs, per category, the frames the files hold, how many pass each test of the exporter, and what Revit's export writes for the ids.

Changes

  • probes/examples/probe_re350_category_stages.rs: per category, the ids by the first test their frames fail (container reference, type symbol, no 3D body by how many extents are flat, design option, export phase), in the form probe_re319_category_census prints plus unplaced, refused and count lines; the ElementIds declared in Global/ElemTable and the partition records that no decoded frame carries; with --records, the frames of the categories under study and the native class and Element base of the ids with a record and no frame. At the commit of the first run the probe was named probe_re348_category_stages (RE-348 was taken by another pull request).
  • tools/re/category_census_vs_ifc.py: reads the new lines; prints category census count lines (the export's elements by class whether or not the Tag is a number, each category's ids in the export by stage and reason, the export classes they land on, and the export's elements no written instance covers).
  • tools/ci/scrub-holdout-results.sh: keeps those count lines (and the probe's census stages: lines) for the held-out, BIMcollab and racadv models; nothing with an ElementId or a name from the model.
  • reports/element-framing/RE-350-unread-categories-and-rvtio-extras.md, a research changelog fragment, and the notes of docs/compatibility.md, docs/status.md and docs/format-reconnaissance.md.

Testing

Unit tests are banned in this repository, and none are added.

  • Verified end to end on real Revit files: Measure runs 42097940515 (head 32586847; 97 models and samples, 59 with a Revit export, every probe exit 0), 42104379244 (a78c61ea), 42108271073 (41528e94) and 42109994761 (282314ed), commands in the report. Furniture Systems and the six rac_basic ids were also paired with the public IFC4 export of the 2018 rac_basic (RE-326 section 5, no licence, read locally for counts and Tags, not committed).
  • The scrub's output for the held-out, BIMcollab and racadv directories was checked line by line against the allowed forms: 3,349 lines, none with an ElementId or a name from a model.
  • The probe built in Measure's build job at 41528e94 and 282314ed; clippy runs on this head.

Audit-honesty checklist

  • No capability changes: nothing is added or written. Docs record what was measured and what was not.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA'd content. The only external code read is Autodesk's open-source revit-ifc (CLEANROOM source 5), cited by file and class in the report.

Breaking changes

None.

Related issues

Closes #1445. Refs #1444 (Rebar and beam systems are recorded with their reasons; Furniture Systems now qualify and are not yet written). Discussion #1241 (mahach666, RvtIO), RE-344.

…d the census scorer's counts for models kept as counts only (#1444) (#1445) (RE-348)
…ds no frame carries, and a beam system's references (#1444) (#1445) (RE-350)
…urniture Systems and RvtIO's 199 extra elements against 59 Revit exports (#1444) (#1445)
# Conflicts:
#	docs/format-reconnaissance.md
@DrunkOnJava DrunkOnJava changed the title research(elements): a census of where each category's frames stop, for Rebar, Structural Beam Systems and Furniture Systems and RvtIO's extra panels (#1444) (#1445) (RE-348) research(elements): RE-350 measures Rebar, Structural Beam Systems, Furniture Systems and RvtIO's 199 extra elements against 59 Revit exports (#1444) (#1445) Nov 5, 2026
@DrunkOnJava DrunkOnJava added the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
…nt base of the ids no frame carries (#1445) (RE-350)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 5, 2026 21:08
@DrunkOnJava DrunkOnJava removed the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
@DrunkOnJava
DrunkOnJava merged commit c5a3e9d into main Nov 5, 2026
35 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1444-1445-category-census branch November 5, 2026 21:52
DrunkOnJava added a commit that referenced this pull request Nov 8, 2026
…lement, on one project and 3 elements (#1444) (RE-352) (#1486)

## Summary

Furniture Systems (`OST_FurnitureSystems`, -2001100) are read from their
element records on every release the exporter reads and written as
`IfcSystemFurnitureElement` with no `PredefinedType`, the class and the
absent enumerator of Revit's own IFC4 export. **The evidence is one
project and 3 elements:** Revit's public IFC4 export of Autodesk's 2018
`rac_basic` sample (RE-326 section 5) holds 3
`IfcSystemFurnitureElement`; the 3 this head writes for that save are
its 3 by `Tag`, none extra and none missing, and their record boxes
equal Revit's bodies to 0.0000 ft. No other model in Measure places a
Furniture System, so there is no held-out check. The export has no
licence: only counts and distances are quoted, no id of its, tag list or
name.

This is the second pull request of #1444. Rebar and Structural Beam
Systems have no Revit export that shows them and stay unread, with their
reasons in RE-350 (#1467, landed).

## Motivation

#1444: RvtIO counts 3 Furniture Systems on `rac_basic` that rvt-rs does
not read; `category_map.rs` mapped a `FurnitureSystem` class to
`IfcFurniture` and nothing produced it. RE-350's census found Revit's
own export writes them as `IfcSystemFurnitureElement`, so the category
meets the rule that a category is added only where a Revit export holds
it and the ids match with no false positive.

## Changes

- `src/research/partition_element_records.rs`: `OST_FURNITURE_SYSTEMS`
in `PRODUCT_RECORD_CATEGORIES` (43) and `RECOVERED_CATEGORIES` (50).
- `src/ifc/category_map.rs`: `FurnitureSystem` as
`IFCSYSTEMFURNITUREELEMENT`, `PredefinedType` unset, replacing
`IFCFURNITURE`.
- `src/ifc/export_content.rs`: no `Constraints` Level parameter and no
`Reference` property for the class (the export writes no property set on
its 3, and a set is written only where a Revit export confirms it); the
class joins `ROOM_CONTENT_TYPES` (the export contains all 3 in a space).
- `src/ifc/gltf.rs`, `src/ifc/sheet.rs`: the colour `IfcFurniture` has.
`src/bin/rvt_ifc.rs`, `viewer/src/main.ts`: the entity's display name.
- `reports/element-framing/RE-352-furniture-systems.md`,
`changelog.d/added/1444-furniture-systems.md`,
`docs/support-matrix.json`, `docs/status.md`, `docs/compatibility.md`,
`docs/format-reconnaissance.md`; the wording of
`changelog.d/research/1444-1445-category-stages.md` for both shipping in
one release.

## Testing

Unit tests are banned in this repository, and none are added.

- [x] Repeated on the final code: Measure run 42517946176 (head
`e639c8b4`, base `ab5f8e1c`): only the same 13 `rac_basic` saves move,
`same-project gates` and the semantic check pass. The landing head adds
main's newer commits and text edits (the 1.0 page's W4 clause and
RE-352) and no code.
- [x] Verified end to end on real Revit files. Measure run 42135914864
(head `4ca938ad`, base `daf36102`, `-f base=main -f nordic=true -f
r2025=true -f holdout=true -f samples=true -f keep_ifc=true`, every
scorer): **13 of 111 exports move and 98 are byte for byte main's**
(Core Interior, Einhoven, RE1, the office, the 24 R2025 models, the 19
held-out and spent files, 45 of 58 samples). The 13 are every
`rac_basic` save of 2015 to 2027, each by exactly 3
`IfcSystemFurnitureElement` and no other class. `schema.txt` of each of
the 13: IFC4 arity, validate 0, EXPRESS rules 0, property sets 0
findings and the census equal to main's. **`same-project gates`:
success** (9 samples held to their earlier saves and the Areas; the
three `rac_basic` saves among them hold the category and pass). The
advisory semantic check finds no difference in 34 models.
- [x] **Against Revit's export, on the 2018 save** (the kept IFC paired
with the public export by `Tag`, counts and distances only): 3 written,
3 in the export, 3 of 3 `Tag` equal both ways (0 false positives, 0
false negatives), none under another class; the 3 record boxes equal
Revit's bodies, extents and centres to at most 0.0000 ft. The written
elements carry no `Pset_` set and no `Reference`;
`decoded.parameter_value_count` does not move.
- Differences from Revit's export, stated: it contains all 3 in an
`IfcSpace`, and rvt-rs contains 2 of the 3 in a space on Revit 2024 and
later only (as for every furniture class; the marker the containment
reads is written from 2024), the third has no Level and stays in the
building; it types all 3 and rvt-rs types none.
- Not exercised: nested components of the class's own category
(`NESTED_COMPONENT_CATEGORIES` names only the device categories) and the
design-option and phase filters.

## Audit-honesty checklist

- [x] Docs and the report state the count (one project, 3 elements)
wherever the category is claimed.
- [x] Not written, and said so: type objects, Revit's property sets,
containment in a space before Revit 2024.
- [x] A user-visible change has its fragment
`changelog.d/added/1444-furniture-systems.md`; the support-matrix entry
is `experimental`.

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk proprietary source, decompiled internals
or NDA'd content (CLEANROOM source 5 is not read for this change).

## Breaking changes

None for the API. An export of a project with Furniture Systems gains
those elements, as `IfcSystemFurnitureElement`.

## Related issues

Closes #1444 (RE-350, landed in #1467, records Rebar and Structural Beam
Systems with their reasons). Discussion #1241, RE-350, RE-319.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Are the 192 panels and 1 door of rac_advanced, and the 4 mullions and 2 panels of rac_basic, real elements we miss?

1 participant