Repository navigation
Keep IFCCAD XREFs through load, edit and save - #3379
Merged
Merged
Conversation
This was referenced Nov 20, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native IFCCAD DWG references use Studio's existing XREF lifecycle. An unresolved reference can be retained, resolved later and saved again without flattening its source body or rewriting its stored location.
Source byte choices and observed GUIDs stay scoped to one drawing session. The existing different-fingerprint warning policy is preserved; base/unit drift is rejected before graphics replacement. Source base and effective insertion scale are applied once. Native save, browser source selection and the matching main/worker pair share the retained source context; worker protocol7 is retained.
Dependencies #30 and codec#533 have merged. This branch now incorporates Studio main1cab9bc1c and uses official Document663bc3a / official codec14f7da10 / staged native main96895aea. Host and standalone Python-plugin locks select matching public identities; no local path overrides or generated binaries are included. The source-save refresh hook is ported to upstream's new update/file/open.rs module.
Earlier paired development qualification covered native source edit, reference grip, undo/redo, fresh-process offline readback and actual browser selection/reload, tab isolation and physical CAD exchange. The user accepted the first slice manually on20 November. Those reader/browser builds keep their recorded pins; fresh local and GitHub qualification of this refreshed branch is reported below.
The old unrelated pipe-network icon failure has been fixed in upstream and that upstream fix is included. It is not repaired separately by this contribution. Whole DWG sources and the bounded native Model placement scope are covered. DXF/IFCCAD source formats are separate in follow-up #3511 and Document#31. No release or Explorer deployment is included.
Fresh local qualification of this exact refreshed graph:
cargo test --locked --lib xref(180 pass) andcargo test --locked -p ocs_save(20 pass); diff checks and both public dependency graphs pass. Full platform CI restarts with this update.