Skip to content

fix(ifc): on Revit 2027 a horizontal bracing's IfcMemberType carries BRACE, its occurrence none (#1841) - #1968

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/1841-brace-type
Nov 14, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/1841-brace-type

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

On Revit 2027, a horizontal bracing's IfcMemberType now carries PredefinedType BRACE, where it carried NOTDEFINED. Its occurrence keeps none, as before. This is the part of #1841 still open after #1918 (HWT-25's Revit 2027 structural model: Revit's IfcMemberType for the bracing has BRACE).

Motivation

#1918 writes the bracing as IfcMember (structural usage 8, read from m_structUsage), and the reporter confirmed it on 0.22.0. The type's value was left out because nothing measured it on the occurrence. On Revit 2027 the occurrence of a member writes no PredefinedType (predefined_type_left_out, RE-427), so giving the mapping BRACE there changes the type object alone. That is the narrower fix rvtReview chose on #1841, and it stays on the one release the reporter measured.

Changes

  • partition_schema_mvp/framing.rs and fields.rs: a framing element whose stored usage is HORIZONTAL_BRACING_USAGE on BRACE_TYPE_REVIT_VERSIONS (2027) carries BRACE_TYPE_FIELD; attach_beam_rotations takes the release.
  • category_map.rs: HORIZONTAL_BRACING_BRACE, IFCMEMBER with BRACE.
  • export_content.rs: an element mapped to HORIZONTAL_BRACING_MEMBER that carries the field takes HORIZONTAL_BRACING_BRACE.
  • A changelog fragment.

Testing

No model Measure fetches holds a horizontal bracing (the reporter's is confidential, counts only), so no export can move. Measure 43544392778, with samples (2015 to 2027) and r2025 against main: registered before it runs, every ifc.sha256 equal and the same-project gates passing. The value itself is the reporter's to confirm on CHL, as for #1918.

  • tools/check-local.sh: no local builds; rustfmt --check passes; CI runs the rest.

Audit-honesty checklist

  • Gated to the release measured; nothing claimed beyond the reporter's count.
  • A changelog fragment.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source.

Part of #1841.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measure 43544392778 on head 640875e against main 0ce6c5d, with samples 2015 to 2027, r2025, Core Interior, Einhoven and RE1: 89 of 89 exports byte for byte main's, diagnostics 89 of 89 equal, and the same-project gates pass on the head (15 samples held to their earlier saves, the Areas on 4 saves and the 2021 save). Both registered rows hold: no model Measure fetches has a horizontal bracing, so the change is confined to the reporter's Revit 2027 file, whose value is theirs to confirm. Marking ready.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 03:11
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 14, 2026 03:25
@DrunkOnJava
DrunkOnJava merged commit 1f21bb2 into main Nov 14, 2026
64 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1841-brace-type branch November 14, 2026 03:28
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