Skip to content

Expose source IFC GlobalId on imported elements - #296

Merged
mahach666 merged 1 commit into
mainfrom
codex/read-source-ifc-global-id
Dec 4, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/read-source-ifc-global-id

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Summary

  • Populate NwcNode.SourceIfcGlobalId from the imported IFC element's own property tab. Conflicting valid identifiers leave the field empty.
  • Preserve the source identifier when combining models and expose it as sourceIfcGlobalId in scene-tree JSON.
  • Keep the existing Revit and export identity derivation independent of the source field.

Verification

  • Tests cover input validation, conflicting values, unrelated tabs, combined models, and export identity.
  • Release build, formatting, and test suites passed on .NET 8 and .NET 10. A local mixed IFC/DWG NWD was used for compatibility checks.

Related to #291.

@mahach666
mahach666 merged commit b0c9511 into main Dec 4, 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.

1 participant