Skip to content

Allocate model-wide element IDs and protect generated IFC GUIDs - #56

Merged
mahach666 merged 1 commit into
mainfrom
fix/model-wide-element-ids
Nov 23, 2026
Merged

mahach666 merged 1 commit into
mainfrom
fix/model-wide-element-ids

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #20.

Allocate IDs across a model's storeys for element and space factories, including after import, merge, extract and direct element-list edits. Assign distinct fallback product GlobalIds when caller-assigned IDs collide, keep those GlobalIds attached to the same objects when storeys are reordered, and do not rewrite explicit GlobalIds. The clash filter identifies storeys by their elements, not by possibly duplicated integer IDs.

Release validation: 253 passed, 2 skipped, 0 failed. Regression cases cover two storeys, pre-existing/imported IDs, list replacement, reordering, explicit GlobalIds, and cross-storey clashes. No customer files or vendor code added.

@mahach666
mahach666 merged commit 2579e52 into main Nov 23, 2026
4 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.

Element Ids restart per storey and produce duplicate GlobalIds

1 participant