3.1 KiB
BIM Arch utilities batch c2a1f52c023e6af5983b4c85
The selected 15 command names now enter a desktop execution branch instead of resource inspection. The branch resolves the existing runtime document and selection, calls the supplied BimArchUtils class IsActive/Activated methods, and returns native object and selection state. The BIM adapter validates that state and applies selection through the existing workbench callback.
Remaining boundaries, not business acceptance:
- Arch_Survey explicitly fails until its interactive view/task is connected.
- The outer pipeline must build/sync and exercise the other 14 commands with actual documents. Native FreeCADGui command execution, Arch/Draft imports, Spreadsheet availability, IFC providers, view visibility, and geometry operations still require runtime verification. A successful resource probe or this implementation receipt does not establish those behaviors.
- Document ownership must remain in the BIM runtime. This change does not transfer documents or native pointers from another worker.
- Returned document snapshots are evidence for consumers; they do not yet establish geometry display refresh, spreadsheet editing, or console warning presentation in the Web workbench.
No build, artifact sync, or business acceptance was run in this edit-only turn.
Batch 8a630fd083fb795bd43f7da8
The four selected commands retain the existing supplied desktop activation path. Arch_Check now returns the actual Arch.check problem objects, labels, and messages alongside the desktop-selected objects. The wrapper restores Arch.check even when activation fails. Selection snapshots retain native subelement names, including space boundary selections used by Arch_Add. The mounted workbench's existing dispatcher callback receives that selection unchanged; the BIM adapter validates document membership and the Check report before applying it.
This is an integration repair, not acceptance of Add, CloneComponent, CloseHoles, or Check. The outer pipeline still needs to verify real grouping/space boundaries, clone links and recomputation, open-shell closure through native geometry, and both clean and invalid Check inputs. Native console presentation and geometry display refresh remain as stated above. No registration markers or fixed business results were added. Build, sync, and acceptance remain with the outer pipeline.
Mounted workflow follow-up
The workbench now renders the native Check report, including the clean result, and shows native Base/CloneOf and Additions links. Add displays the last selected object as its host. After a successful selected command, the BIM adapter removes the consumed payload selection so the next invocation uses the native selection already applied by the dispatcher. Failed commands retain the last document view. Component link fields are validated before rendering.
This closes Check diagnostic presentation in the mounted view; general native console output and geometry display refresh remain unresolved. All four desktop activation methods remain unchanged. Build, sync, runtime and browser acceptance are deferred to the outer pipeline; no receipt establishes business acceptance.