Skip to content

research(element-records): RE-219, the +0x46 flag word is not LoadBearing or IsExternal (#223) - #963

Merged
DrunkOnJava merged 3 commits into
mainfrom
re/223-flag-census
Oct 25, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
re/223-flag-census

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

RE-219, a measured negative for #223: no bit of the element record's +0x46 flag word is a wall's, slab's, door's, window's or curtain wall's LoadBearing or IsExternal in Revit's export of the BIM4LCA office. The two bits that match an exported property, 0x1000 on columns and 0x1 on coverings, follow the record's category or class, which rvt-rs already reads. No code changes.

Motivation

#223 asks what +0x46 carries. LoadBearing (a wall's or slab's Structural parameter) and IsExternal are the booleans Revit's export writes on most elements, so a bit equal to one of them on every element of a category would be that property.

Changes

  • examples/probe_223_flag_census.rs: +0x46 of every first-prologue record of ten categories.
  • tools/re/flag_bits_vs_ifc.py: pairs each with Revit's element by Tag and tests each bit against Pset_*Common.LoadBearing and IsExternal, where the property takes both values.
  • reports/element-framing/RE-219-flag-word-census.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: CI (the probe builds as an example).
  • Verified end to end on real Revit files. Measure 40169108869, -f nordic=true -f r2025=true. On the office as built, 607 walls, 41 slabs, 220 curtain walls, 268 doors and 269 windows were paired by Tag, and none of their bits equals either property. Bit 0x1000 equals LoadBearing on 279 of 279 columns (345 of 345 at building permit), and is set on every structural column and on no architectural column. Bit 0x1 equals IsExternal on 99 of 99 coverings: it is set on the 21 whose records carry walls' words. Core Interior and the R2025 models have one value of each property per entity, so they test nothing.
  • Witness: no export changes.

Audit-honesty checklist

  • README / docs reflect the current state after this PR (no capability changes)
  • No user-visible change, so no fragment
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: probe examples/probe_223_flag_census.rs and dated report RE-219 (negative)

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content. Clean-room declaration: byte observations of the files' own records against Revit's own IFC exports; no Autodesk SDK source, disassembly or NDA material was used.
  • No fixtures

Breaking changes

None.

Screenshots or output samples

IfcWall: 607 paired; flag words {'0x00001929': 596, '0x00000929': 11}
  LoadBearing: 607 with a value ({False: 554, True: 53}); exact bits none
IfcColumn: 279 paired; flag words {'0x00001928': 278, '0x00000928': 1}
  LoadBearing: 279 with a value ({True: 278, False: 1}); exact bits ['0x1000']

Related issues

Refs #223

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 25, 2026 06:41
@DrunkOnJava
DrunkOnJava merged commit d7ec5a1 into main Oct 25, 2026
26 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/223-flag-census branch October 25, 2026 06:47
DrunkOnJava added a commit that referenced this pull request Oct 25, 2026
…deleted branch (#1001)

## Summary

Sixteen reports' reproduce commands named a branch that was deleted when
it landed (`feat/mullion-span`, `feat/bare-named-parameters`,
`feat/wall-extend-to-structure`, `feat/824-hatch-openings`,
`re/re155-reference-slots` ... `re/re163-content-documents`,
`re/878-2015-episodes`, `re/223-flag-census`,
`docs/re229-symbol-lengths`), so `gh workflow run` refused them. Each
now names the commit that landed (`--ref main -f ref=<sha>`, and `-f
base=<parent>` where it measured a change against `main`).
CONTRIBUTING's reverse-engineering steps state the rule.

## Motivation

A report's reproduce section is how its counts are checked again.
Measure's `ref` input takes a commit, and every probe and scorer these
reports name is on `main`.

## Changes

- **`reports/element-framing/RE-155` to `RE-163`, `RE-208`, `RE-219`,
`RE-225` to `RE-229`**: branch refs replaced by the squash commits of
#601, #606, #611, #620, #627, #628, #630, #632, #642, #928, #963, #993,
#994, #996, #997 and #998. RE-224's `re/saved-mesh-status` is kept: it
is the ungated branch its scorer needs, and it stays.
- **`CONTRIBUTING.md`**: a report's reproduce commands name a commit,
never a branch.

## Testing

Unit tests are banned in this repository: do not add them.

- [ ] `tools/check-local.sh`: CI.
- [x] Every probe and scorer the changed commands name exists on `main`
(checked file by file), and each commit is the merge of the pull request
that added the report.
- N/A: no code change.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
- [x] No user-visible change, so no changelog fragment
- [x] Commit messages describe what changed and why
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files

## Legal and contribution hygiene

- [x] Apache-2.0
- [x] No Autodesk proprietary content
- [x] No fixtures

## Breaking changes

None.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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.

1 participant