Skip to content

Match Revit export identity for 64-bit element IDs - #277

Merged
mahach666 merged 1 commit into
mainfrom
codex/verify-revit-wide-export-ids
Nov 19, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/verify-revit-wide-export-ids

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Closes #269

Changes

  • Derive the Revit UniqueId and IFC export GUID from the full original element ID in the RVT creation history.
  • Carry the confirmed identity into IFC, compact JSON, and IOScene. Add regression coverage using IDs captured from a synthetic two-wall Revit model.

Verification

Revit 2027.2 (build 27.2.0.39) created the wide wall, saved the RVT, then reopened it in a separate process using normal startup. RvtIO and Revit agreed on the UniqueId, the API export GUID, and the GlobalId on the IFCWALLSTANDARDCASE in both IFC2x3 exports. Both IFC walls were matched by their decimal Tag.

Element ID UniqueId IFC GlobalId
4295967297 95db5b0a-a7bf-4747-af03-b1f5fe59fca1-1000f4241 2LsriAfxz7Hwy3iVJ_LhxW
  • The normal-ID control model produced byte-identical IFC, compact JSON, full JSON, and IOScene files compared with the previous build.
  • The full local suite passed on .NET 8 and .NET 10. Fixture-dependent tests were skipped where the fixture was unavailable. The native-core Scene build passed.

@mahach666
mahach666 merged commit d687db7 into main Nov 19, 2026
5 checks passed
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.

Preserve 64-bit Revit element IDs through reading and export

1 participant