Skip to content

feat(ifc): Revit 2015 to 2023 curtain mullions and panels have their type, family and material, and a type's own material (#1190) (RE-367) - #1520

Merged
DrunkOnJava merged 4 commits into
DrunkOnJava:mainfrom
puzzbobb:feat-1190-2015-2023-curtain-part-types-re367
Nov 9, 2026
Merged

DrunkOnJava merged 4 commits into
DrunkOnJava:mainfrom
puzzbobb:feat-1190-2015-2023-curtain-part-types-re367

Conversation

@puzzbobb

@puzzbobb puzzbobb commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Revit 2015 to 2023 curtain mullions and panels now have their type and family, and the mullions their material; a panel of these releases takes no material. It's a seventh slice of #1190 (on #1519, RE-366, whose parts these are). It's measured against the same Autodesk samples saved by a later release and, for the first time on these releases, against Revit's own IFC2X3 exports: rac_advanced 2015 to 2020, Vitoria's ALD26 Before and the held-out models (counts). It also fixes a material defect on Autodesk's 2024 samples, where every curtain part was Wood - Laminated, glazed panels included.

Motivation

With #1519, rac_advanced 2023 draws 3,312 members and 1,349 panels with no type object, ObjectType, Other.Family, Other.Type, Reference or material: the largest gap left against its 2024 save. A name entry on these releases holds no category (RE-109), so resolve_type can't run, and type_and_family_names_2023 looks for a type record these types don't have.

Changes

  • src/research/partition_schema_mvp/curtain.rs: attach_curtain_part_types_32. The type is the one id in a part's reference list with a name entry and no record of its own; the family is the u32 at CURTAIN_TYPE_FAMILY_OFFSET_32 (+265) of the type's data.
  • src/research/partition_schema_mvp.rs: the 2015 to 2023 branch calls it and attach_curtain_materials, and leaves these types out of type_material_names_32.
  • .../materials.rs, src/research/partition_curtain_materials.rs: on these releases a part's material comes from m_renderStyleId alone, named by scan_materials_32. The 64-bit offsets aren't read there. native_render_styles now names NATIVE_RELEASES.
  • .../materials.rs: on every release a type's m_renderStyleId replaces what a map gave. 2024 and later change here, so please look at this line on its own. On 2015 to 2023 a panel takes none (CURTAIN_WALL_PANEL_CLASS): see Testing.
  • probes/examples/probe_re367_curtain_materials.rs, reports/element-framing/RE-367-2015-2023-curtain-part-types.md, an addendum to docs/format-reconnaissance.md, docs/status.md, docs/evidence.md, docs/supported-profile.md, changelog.d/added/1190-2015-2023-curtain-part-types.md, changelog.d/fixed/1190-curtain-part-render-style.md.

Testing

Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.

  • tools/check-local.sh passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)
    • tools/check-local.sh --corpus passes on this branch (integration 301 of 301, 6 filtered out), and cargo +1.87 check --profile ci --all-targets is clean.
  • Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it
    • Against Revit's own exports (Measure run 42592510812, -f racadv=true -f holdout=true, every scorer; IFC2X3, counted apart; details in RE-367 section 4a). rac_advanced 2015 to 2020, scored against the one export of the project: Pset_PlateCommon.Reference 1,349 of 1,349 equal (0 before), Pset_MemberCommon.Reference 3,276 of 3,284 (8 missing, 0 different), and Name and ObjectType equal on 3,276 members and 1,349 plates. Vitoria's ALD26 Before: the same on its 67 plates and 206 members (Reference 67 of 67 and 206 of 208), and 1,005 of 1,280 elements typed against 732, the type's name equal to Revit's on 1,079 of 1,079. The held-out ALD26 Project (counts): the same on 67 and 206. A held-out Revit 2022 office: its one plate equal.
    • The 67 type Tags the maintainer held this PR for. type_objects_vs_ifc.py finds Tag equal on 938 of ALD26 Before's 1,005 typed elements; the 67 that differ are the plates. Revit's export has five IfcPlateTypes for them, each Tagged with the ElementId of a plate of the file, where rvt-rs writes the type's own ElementId. That is the exporter's convention, not a wrong type: Autodesk's open-source exporter sets an IfcPlate type's Tag from the instance (FamilyExporterUtil.ExportGenericType, read for what Revit writes), and Revit's IFC4 export of the BIM4LCA office at building permit shows the same on its 269 plates, the only type Tags that differ there.
    • A panel takes no material on 2015 to 2023. None of ALD26 Before's 67 plates has the material a panel type's m_renderStyleId gives (0 of 67 equal, run 42534783950), and no other Revit export scores a panel's material on these releases. Why is not decoded, so the panels keep none until a rule gives Revit's. The 206 mullions' materials equal Revit's, with and without this change.
    • Against the 2024 save's export, by Tag: type id, type name, family, ObjectType and Reference are equal on rac_advanced's 3,276 mullions and 1,349 panels on each of 2015 to 2023, and on rac_basic's 144 and 44. None differs. rac_advanced's 36 stringers take no type here.
    • Materials, by probe_re367_curtain_materials, each type's m_renderStyleId against its 2024 save's, on the types both hold: rac_advanced 511 of 511 on 2015 to 2020 and 517 of 517 on 2021 to 2023; rac_basic 82 of 82 on 2015 and 91 of 91 on 2016 to 2023; rme_basic and rme_advanced 465 of 465 on 2015 and 2019; rst_basic 3 of 3 on 2017 to 2023 and 2 of 2 on 2016.
    • Mullions' materials against the 2024 export, with the fix below: rac_basic 144 of 144 and rac_advanced 3,276 of 3,276 on each save; the panels (44 and 1,349) have none.
    • The 2024 fix. attach_curtain_materials left alone a part that already had a material, so a type map beat m_renderStyleId. On rac_advanced, rme_advanced and rme_basic of 2024 every mullion and panel was Wood - Laminated. Now rac_advanced is Metal - Aluminium, Black-Anodized, Glass (Glazed) and Stone - Granite (Solid), and the rme samples Metall - Lack - Grau, Fassade - Glas (Verglasung) and Fassade - Metallpanel (Metallpanel). 4,625 and 2,079 and 2,079 parts change, materials only. Why the map gives one material there isn't decoded.
    • What backs that fix, and what doesn't. Against Revit's own exports, 20,989 mullions and panels equal Revit's before and after: the BIM4LCA office at both stages (10,263 and 10,300), its terrain housing (414) and RE1 Architecture (12). So no regression shows, but none of those is a part this changes. The new values rest on RE-201's rule, Revit's on Snowdon's 1,773 parts, on the types' own names, and on rac_advanced's 2015 to 2023 saves. A Revit export of one of these three 2024 samples would settle it.
    • Against feat(ifc): Revit 2015 to 2023 curtain walls are IfcCurtainWall with their parts under them (#1190) (RE-366) #1519's head, across 33 saves of 2015 to 2023: 36,584 members and 15,055 panels gain names and Reference, with no value changed, and the members their materials. No element appears or goes, and no storey, GlobalId, host or void changes. Only those members change material: no element of any other class does, and no panel.
    • Byte identity: of 206 local project files of 2008 to 2027, 193 export IFC and diagnostics byte for byte as feat(ifc): Revit 2015 to 2023 curtain walls are IfcCurtainWall with their parts under them (#1190) (RE-366) #1519's head does (SOURCE_DATE_EPOCH=1700000000). The 13 that change are 2017 to 2023 files holding curtain walls. No file of 2024 or later, or before 2015, changes. The local files hold no 2024 save of those three samples; among Autodesk's samples, only those three of 2024 and later change.
  • If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR
    • Core Interior (2024) exports byte for byte as before, so its observations are unchanged.
  • If this is a performance change: reran tools/bench.sh and attached the before / after
    • N/A. Not benchmarked: it adds one pass over the type records on files that hold curtain parts.
tools/fetch-autodesk-samples.sh samples 2015 2024
cargo run --profile ci -p rvt-probes --example probe_re367_curtain_materials -- samples/2023-racadvancedsampleproject.rvt 2023 > 2023.txt
cargo run --profile ci -p rvt-probes --example probe_re367_curtain_materials -- samples/2024-racadvancedsampleproject.rvt 2024 > 2024.txt
diff 2023.txt 2024.txt

Audit-honesty checklist

  • README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR
  • A user-visible change has its entry as a fragment under changelog.d/<section>/ (see changelog.d/README.md), not in CHANGELOG.md
  • If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated
    • docs/status.md, docs/evidence.md, docs/supported-profile.md.
  • If a new limitation was introduced, it is documented in the PR body and in-code
    • None new. Still not read, RE-367 §6: a curtain wall's own type, a stringer's, a part's NetVolume and NetSurfaceArea, a curtain wall's Length.
  • Commit messages describe WHAT changed and WHY, not "fix things" or "updates"
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • If this is a reverse-engineering finding: a reproducible probe under probes/examples/ and a dated addendum to docs/format-reconnaissance.md are included
    • probes/examples/probe_re367_curtain_materials.rs.

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)
  • Any new test fixtures use synthetic values (testuser, 111111, FY-20XX, etc.) and contain no real-world PII
    • No fixtures.

Breaking changes

None. A new public constant; existing names and types are unchanged.

Screenshots or output samples

The same project's materials:

rac_advanced 2024, before   50 x 150mm: Wood - Laminated                     Glazed: Wood - Laminated  Solid: Wood - Laminated
rac_advanced 2024, now      50 x 150mm: Metal - Aluminium, Black-Anodized    Glazed: Glass             Solid: Stone - Granite
rac_advanced 2023, now      50 x 150mm: Metal - Aluminium, Black-Anodized    Glazed: Glass             Solid: Stone - Granite

Related issues

Refs #1190, #1519, #1158

Notes

This changes 2024's output on three samples, so it's the part of this PR I'd review most closely. It could be split out if you'd rather take it separately.

rvtReview's commits on this branch: the panel narrowing (e7e1d5b8) and the report, changelog and addendum for it (dd5ecf61). The branch is rebased on main after #1519, #1518 and #1587.

@DrunkOnJava

DrunkOnJava commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

@puzzbobb the Measure run on this head is in (42521215531, 795f131e). Most of it is very good. Against Revit's own exports, counts only:

model what moved
rac_advanced 2015 to 2020 values equal 5,776 to 15,026; different 11 and values Revit doesn't write 276, both unchanged; Pset_PlateCommon.Reference 0 to 1,349 of 1,349; Pset_MemberCommon.Reference 0 to 3,276 of 3,284
Vitoria ALD26 Before (2018) 206 members and 67 plates: Name and ObjectType now equal Revit's; type objects 592 to 865, the entity right on all 865

By IFC hash 34 of 118 exports move, 31 of them Revit 2015 to 2023. The other 3 are the 2024 saves of rac_advanced, rme_advanced and rme_basic: the m_renderStyleId line you asked to have looked at on its own, as your fix says. None of the 3 has a Revit export to score against, and no Revit 2024 or later export that is scored moved. The same-project gates pass.

The plates, corrected again. This comment has said two different things, and this is the one that stands: the mullions can land, and the panel types and materials wait for one check.

A disagreement in materials against an IFC2X3 view is counted apart. A type's Tag is different: it is the type's ElementId, which doesn't depend on the schema, and all 206 member types in the same file agree. So the 67 plate types that don't agree need explaining before they land:

  • element_materials_vs_ifc: elements with materials 375 to 442, and the same set stays 375, so the 67 plates' material sets differ from that export's.
  • type_objects_vs_ifc: Tag agrees on 592 of 592 before and 798 of 865 after, and the 67 that don't are the plates' types. Name and ObjectType equal Revit's while the Tag doesn't, so the chosen id could be another record of the same name.

I'm running one check on ALD26 Before, listing each plate's type id and name against Revit's IfcPlateType Tag, plus the two material sets. If it's a real error, the rule gets narrowed until it is never wrong, and what it leaves out is reported. If it's explained, the panels land with that in RE-367.

If you have a lead on what makes these panels different (a system panel against a family panel, or an empty panel type, for example), it's still welcome.

@DrunkOnJava

Copy link
Copy Markdown
Owner

@puzzbobb the check on the 67 plates of ALD26 Before is in (Measure run 42534783950), and it's a real error. rvt-rs gives all 67 one type and one material. Revit's export gives them five different types, and a different material from that one. Type ElementIds and material names don't depend on the IFC schema, so this isn't a view effect.

So on this PR: the mullions are fine (206 of 206) and can land, and the panel types and materials need narrowing first. A panel should get a type only when the rule can tell the type is that panel's own, and otherwise stay typeless and be counted.

A lead from reading the code, not proved: attach_curtain_part_types_32 takes the one named id in the reference list with !references.contains_key(id). If these panels' true types have element records of their own, that filter throws them out and leaves the one named id without a record. On rac_advanced the true type has no record, which would explain why the samples match. RE-367 should carry the 67 and the five types as counts, with the cause once it's known.

Would you like to take the narrowing, or should I, as on #1517?

DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…heir parts under them (#1190) (RE-366) (#1519)

## Summary

Revit 2015 to 2023 curtain walls are now `IfcCurtainWall`, with their
mullions and panels aggregated under them, turned along their own axes,
and with `Span`, `Length` and `IsExternal`. It's a sixth slice of #1190,
and the largest gap by element count: 4,661 parts on `rac_advanced`
alone. It's measured against the same Autodesk samples saved by a later
release, and, as counts, against Revit's own exports of `rac_advanced`
2015 to 2020 and of Vitoria's two models, all three IFC2X3; no Revit
IFC4 export of a 2015 to 2023 curtain wall scores it.

## Motivation

#1190 asks for each capability 2024 and 2025 have on every release from
2015 to 2027. The 2015 to 2023 branch of `recover_partition_schema_mvp`
never called the curtain readers. `rac_advanced` on `main`:

| | 2023 | 2024 |
|---|---:|---:|
| `IfcCurtainWall` | 0 | 34 |
| elements aggregated under another | 0 | 4,515 |
| `partition_family_instance_oriented_box` | 0 | 148 |
| members with `Span` and `Length` | 0 | 3,252 |

## Changes

- `src/research/partition_schema_mvp.rs`: the branch calls
`attach_curtain_walls`, `attach_curtain_axes` and
`attach_curtain_member_is_external` on `CURTAIN_32BIT_REVIT_VERSIONS`
(2015 to 2023), and `bind_opening_hosts` after them, as on 2024.
- `.../records_2023.rs`: `recover_2023_records` returns each record's
reference list, and no longer binds hosts itself. 2008 to 2014 get the
same binding as before.
- `.../curtain.rs`: `attach_curtain_walls` takes those lists;
`attach_curtain_axes` reads through `scan_transforms_in_layout`.
- `src/research/partition_instance_transforms.rs`:
`scan_transforms_in_layout`. `scan_instance_transforms`, which door and
family readers call, is unchanged.
- `.../parameters.rs`: a curtain wall takes `attach_record_is_external`.
- `reports/element-framing/RE-366-2015-2023-curtain-walls.md`, an
addendum to `docs/format-reconnaissance.md`, `docs/status.md`,
`docs/evidence.md`, `docs/supported-profile.md`,
`docs/release-1.0-criteria.md`,
`changelog.d/added/1190-2015-2023-curtain-walls.md`.
- `tools/re/curtain_classes_across_saves.py`: a curtain wall's class and
its parts' wholes against the same project's 2024 save, by `Tag`, over a
Measure run's kept exports. `docs/support-matrix.json`'s
`element-record-curtain-walls` names 2015 to 2023 and RE-366, and the
class counts the docs cite for Vitoria's `ALD26 Before` (1,305 to 1,310
of 1,314, 9 curtain walls written as walls to 4) are updated where they
appear.

## Testing

Unit tests are banned in this repository: do not add them. Show the
change working end to end on real files instead.

- [x] The required gate passes: `full / CI passed` on the rebased head
(fmt, clippy, rustdoc, the test matrix with its `msrv` entry, the i686
job, corpus tier 2, IfcOpenShell, docs, wheels, audits, PII guard).
- [ ] Verified end to end on real Revit files: the command, the files
(and their licence), and the measured result against Revit's own export
are in the PR body, with the script or probe that reproduces it
- **Not against a Revit IFC4 export.** Measured against the same
Autodesk samples saved by a later release, which can't catch an error
that save shares, and, as counts, against three Revit exports that are
IFC2X3: a disagreement with an IFC2X3 view is counted apart and removes
nothing, and the agreements below are results against IFC2X3 too. The
files are the pinned samples in `research/autodesk-sample-projects.tsv`
(fetched, never stored).
- Against Revit's own exports, [Measure run
42581222440](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42581222440)
(the rebased head `6f71f93a` against `main` at `58fd08f2`, 118 exports,
held-out models as counts only): `rac_advanced` 2015 to 2020 (six pairs,
the same counts on each) `IfcCurtainWall` 34 of 34 (0 before),
`Pset_CurtainWallCommon.IsExternal` 32 of 32, `Pset_MemberCommon.Span`
3,241 equal, 11 different and 24 missing of 3,276 (0, 0 and 3,276
before), property values equal 2,503 to 5,776 of 16,108. The 11
different are the 3,241 of 3,252 below: about 7.5 mm off Revit's as the
record boxes are, counted apart. Vitoria `ALD26 Before` (Revit 2018)
`IfcCurtainWall` 5 of 9 (0 before), the other 4 stay `IfcWall`, since by
RE-46's and RE-72's rules neither a mullion's list nor a curtain grid
that a part names names them, `Span` 206 of 206, equal 2,737 to 2,948 of
5,317; the held-out `ALD26 Project` 5 of 8, `Span` 206 of 206, equal
3,291 to 3,502 of 6,140. No other export of the 118 moves except the 22
samples below.
  - Against the 2024 save, by `Tag`:

| save | curtain walls | aggregated as 2024 | under another wall | not
aggregated |
    |---|---:|---:|---:|---:|
    | `rac_advanced` 2015 to 2017 (each) | 34 of 34 | 4,384 | 0 | 80 |
    | `rac_advanced` 2018, 2019 (each) | 34 of 34 | 4,463 | 0 | 1 |
    | `rac_advanced` 2020 | 34 of 34 | 4,454 | 0 | 10 |
    | `rac_advanced` 2021 | 34 of 34 | 4,444 | 0 | 71 |
    | `rac_advanced` 2022 | 34 of 34 | 4,463 | 0 | 52 |
    | `rac_advanced` 2023 | 34 of 34 | 4,454 | 0 | 61 |
| `rac_basic` 2015, 2016, 2019, 2022, 2023 (each) | 9 of 9 | 188 | 0 | 4
|

- Those not aggregated, on `rac_advanced` 2023: 45 mullions at a corner
whose record names two curtain walls, which the rule declines; 15 stair
flights and landings, which this doesn't read; 1 opening.
- Bodies, to 3 mm on the world box and 0.1% on the volume
(`tools/re/save_pair_bodies.py` for the oriented boxes), `main` against
this change: `rac_advanced` 2023 members 3,206 to 3,312 of 3,312, panels
1,307 to 1,349 of 1,349; 2015 and 2019 members 2,779 to 2,885 of 3,276,
panels 1,145 to 1,187 of 1,349; `rac_basic` 2023 188 of 188 before and
after. The 148 oriented boxes are the 2024 save's on 2015, 2019, 2021
and 2023. On `rac_advanced` 2019 no body that matched on `main` stops
matching, and the 553 that still differ have the box they have on
`main`, at worst 15 mm off. RE-180 records `rac_advanced` 2019 and 2020
as an earlier edit in which curtain walls moved.
- Values against the 2024 save, `rac_advanced` 2023 / 2015: `Span` and
`Length` 3,252 of 3,252 / 3,241 of 3,252, the 11 about 7.5 mm off as
their boxes are; member `IsExternal` 3,147 equal and 45 not read / 3,077
and 79; panel `IsExternal` 1,307 of 1,307 on both; curtain wall
`IsExternal` 34 of 34 on both.
- Class and parts over every save
(`tools/re/curtain_classes_across_saves.py` on the kept exports of
Measure run 42579926185, head `6f71f93a`): of the 31 saves of 2015 to
2023 that have a 2024 save of the project, 511 walls are
`IfcCurtainWall` here and in the 2024 save; none is `IfcWall` there, and
none that is `IfcCurtainWall` there is `IfcWall` here. No mullion or
plate sits under a wall that is not a curtain wall, here or in the 2024
save (49,903 sit under a curtain wall here). The 511 are 34 on each of 9
`rac_advanced` saves, 9 on each of 9 `rac_basic` saves and 31 on each of
4 `rme_*` saves, which is why the tables above, covering the first two,
hold 387.
- Across 33 saves of 2015 to 2023 against `main`: 266 doors no longer
fill an opening in a curtain wall and 235 curtain walls lose that void,
all of them now equal to the 2024 save. 225 members and panels change
storey, all to the 2024 save's. 511 elements go from `IfcWall` to
`IfcCurtainWall`, gaining `Pset_CurtainWallCommon.IsExternal` and losing
`Pset_WallCommon.IsExternal` and `ExtendToStructure`. 4 curtain walls on
`rac_basic` gain a family name. No element appears or goes, and no
GlobalId changes.
- Byte identity, Measure run 42581222440: of 118 exports, 88 are byte
for byte `main`'s. The 30 that differ are the 22 samples that hold
curtain walls (`rac_advanced` and `rac_basic` of 2015 to 2023,
`rme_advanced` and `rme_basic` of 2015 and 2019), the six `racadv` pairs
and the two Vitoria models. No export of 2024 or later, and none of the
office, the Revit 2025 models, Core Interior, RE1 or BIMcollab moves,
and no other held-out model. The same-project gates pass.
- [x] If this touches the IFC exporter: the witness verdicts replay (see
CONTRIBUTING.md) or the changed observations are refreshed in this PR
- Core Interior (2024) exports byte for byte as before, so its
observations are unchanged.
- [ ] If this is a performance change: reran `tools/bench.sh` and
attached the before / after
- N/A. No difference above the noise of three runs each (`rac_advanced`
2023, about 4.3 s; `rac_basic` 2019, about 2 s).

```
tools/fetch-autodesk-samples.sh samples 2015 2024
for f in samples/*.rvt; do rvt-ifc "$f" -o "${f%.rvt}.ifc"; done
python3 tools/re/save_pair_bodies.py samples/2023-racadvancedsampleproject.ifc samples/2024-racadvancedsampleproject.ifc --sources partition_family_instance_oriented_box
```

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR — no claims
of features that are not actually shipped in this PR
- [x] A user-visible change has its entry as a fragment under
`changelog.d/<section>/` (see `changelog.d/README.md`), not in
`CHANGELOG.md`
- [x] If a limitation was resolved, the "Known limitations" / "What
works today" section in the relevant docs is updated
- `docs/status.md`, `docs/evidence.md`, `docs/supported-profile.md`,
`docs/release-1.0-criteria.md`. The 2008 to 2014 rows now say "as on
2015, without curtain walls".
- [x] If a new limitation was introduced, it is documented in the PR
body and in-code
- None new. Still not read, RE-366 §5: a curtain wall's `Length`; family
and type names on mullions and panels, so their `ObjectType`,
`Reference` and materials; a part's `NetVolume` and `NetSurfaceArea`; a
corner mullion's curtain wall; a curtain grid's.
- [x] Commit messages describe WHAT changed and WHY, not "fix things" or
"updates"
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files
- [ ] If this is a reverse-engineering finding: a reproducible probe
under `probes/examples/` and a dated addendum to
`docs/format-reconnaissance.md` are included
- The addendum is included. No new byte layout is decoded, so there is
no probe.

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0 (see
`CONTRIBUTING.md`)
- [x] This PR contains no Autodesk proprietary source, decompiled
internals, or NDA'd SDK content (see `CLEANROOM.md`)
- [x] Any new test fixtures use synthetic values (`testuser`, `111111`,
`FY-20XX`, etc.) and contain no real-world PII
  - No fixtures.

## Breaking changes

None. New public constants and a function; existing names and types are
unchanged.

## Screenshots or output samples

`rac_advanced` 2023 against its 2024 save, this branch:

```
tools/re/save_pair_bodies.py --sources partition_family_instance_oriented_box
same 148, differ 0, not in the reference 0
```

## Related issues

Refs #1190, #1158

## Notes

It edits the same rows of `docs/supported-profile.md`,
`docs/evidence.md` and `docs/status.md` as #1518, #1520 and #1524, so
whichever merges later takes a small conflict.

---------

Co-authored-by: Griffin Long <[email protected]>
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
@DrunkOnJava
DrunkOnJava force-pushed the feat-1190-2015-2023-curtain-part-types-re367 branch from 795f131 to cae3373 Compare November 9, 2026 09:19
@DrunkOnJava
DrunkOnJava force-pushed the feat-1190-2015-2023-curtain-part-types-re367 branch from cae3373 to dd5ecf6 Compare November 9, 2026 09:41
@DrunkOnJava

Copy link
Copy Markdown
Owner

Thanks for this one. What changed since you pushed, so the page matches the branch:

rvtDevelop reads it next and I land it after.

@DrunkOnJava
DrunkOnJava force-pushed the feat-1190-2015-2023-curtain-part-types-re367 branch from dd5ecf6 to dc69b45 Compare November 9, 2026 09:51
puzzbobb and others added 4 commits November 9, 2026 04:56
…type, family and material, and a type's own material wins (DrunkOnJava#1190) (RE-367)

A type's name entry on 32-bit releases holds no category, so resolve_type could
not name a curtain part's type, and these types have no type record for
type_and_family_names_2023. The type is the one id in a part's reference list
with a name entry and no record of its own: on rac_advanced 2023 that is the 2024
save's type on all 3,276 mullions and 1,349 panels. The type's data names its
family as a u32 at +265.

Its material is the type's m_renderStyleId (RE-166). type_material_names_32 is
not used for these types, because it misreads them: with a type id it gave every
mullion and panel of rac_advanced 2023 Site - Tarmacadam, glass included.

Each type's material equals its 2024 save's m_renderStyleId on every type both
hold. No Revit export of these parts is scored.

On every release a type's m_renderStyleId now replaces what a map gave. On
rac_advanced, rme_advanced and rme_basic of 2024 the map made every mullion and
panel Wood - Laminated, glazed panels included. The 20,989 parts scored against
Revit's own exports are unchanged, and none of them is one that changes, so the
new values rest on RE-201's rule and on the types' own names.

(cherry picked from commit 795f131edfbef2841ce27b3f965479135387316a)
…unkOnJava#1520) (RE-367)

A panel's material was its type's m_renderStyleId on every release, as a
mullion's is. In Revit's IFC2X3 export of Vitoria's ALD26 Before none of its
67 plates has that material (Measure run 42534783950: 0 of 67 equal), and no
other Revit export scores a panel's material on these releases. A panel of
these releases keeps its type, family, ObjectType and Reference and takes no
material until the rule that gives Revit's is read; a mullion's is unchanged.
…gives panels no material (DrunkOnJava#1520)

Measure run 42592510812 scores the types and names of the parts against
Revit's exports for the first time on these releases: rac_advanced 2015 to
2020 has Revit's Reference on 1,349 of 1,349 plates and 3,276 of 3,284 members
and Revit's Name and ObjectType on all of them; Vitoria's ALD26 Before and the
held-out ALD26 Project have them on all 67 plates and 206 members. The type
objects' Tag differs on the plates only, which is the exporter's convention
(Autodesk's exporter sets an IfcPlate type's Tag from the instance), as the
BIM4LCA office's IFC4 export shows on its 269 plates. The report, the
changelog fragment and the reconnaissance addendum say so, and that a panel
takes no material.
…erial, and that a 2015 to 2023 panel gets none (DrunkOnJava#1520)

rvtDevelop's read of DrunkOnJava#1520: the doc comment still described the old behaviour,
a material given only to a part that had none yet. It now replaces what a type
map gave, on every release, and a panel of 2015 to 2023 is given none.
@DrunkOnJava
DrunkOnJava merged commit 6ce3d1a into DrunkOnJava:main Nov 9, 2026
37 checks passed
@puzzbobb
puzzbobb deleted the feat-1190-2015-2023-curtain-part-types-re367 branch November 9, 2026 15:31
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.

2 participants