Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
Library/bind flow leaks Untitled 3D documents that accumulate unbounded (16 after 3 imports) and fusion_close_all_documents cannot close them
fusion_bind_library_3d / the library-create flow leaves Untitled 3D documents that accumulate without bound — 16 of them after only 3 library imports, and fusion_close_all_documents cannot close them.
The run
ConfRoomROG (Windows 11), fusion360 bridge 1.9.209, ab 2.0.80, driven through the web-control demo page (the Library "proves all 3" button, which calls fusion_bind_library_3d → fusion_show_library → fusion_show_symbol/_footprint/_3d_package per part). Three parts imported so far this run: 0402B103J500CT, 0603B105K160CT, 0603X475K100CT.
The finding
fusion_get_app_state after 3 imports:
total documents: 18
untitled: 16
names: [Untitled ×13, ADOM-0603X475K100CT-3D, Untitled, Untitled, Untitled, 0603X475K100CT]
So each library import leaves roughly five Untitled documents behind. They pile up across the run (the tab bar shows Untitled(10), Untitled(11), Untitled(12), ADOM-…-3D, Untitled(13), Untitled(14), then the part). By part 3 there are already 16.
And they cannot be cleaned up: fusion_close_all_documents closes the named part + ADOM-<part>-3D docs but skips every Untitled — they resist closing (unsaved), so a batch caller has no way to keep the workspace bounded. Over a 10-part run this reaches ~50 Untitled docs, which is what slowed Fusion until the 3D step exceeded the 60s budget in the earlier report (this issue is the root of that memory pressure).
Likely cause (John's read, and it matches the tab labels)
When a new library / 3D is created, the bridge appears to start from a fresh Untitled 3D document each time (the STEP-bind step mints a WIP 3D doc, and the transient scratch docs never get closed). ADOM-<part>-3D is the real one; the surrounding Untitled docs are the leftover scratch.
Asks
- Close the scratch
Untitleddocs the flow creates, or reuse one instead of spawning a new one per import. A library/bind operation should not leave orphaned Untitled docs behind. - If some
Untitledis genuinely needed as the active base, keep exactly ONE, not one-per-import. - Failing an internal fix, expose a way for a caller to close them (an option on
fusion_close_all_documentsto force-close unsaved Untitled scratch docs, or afusion_reset_workspaceverb) — todayfusion_close_all_documentscannot, so the workspace only grows.
Evidence
Screenshot of the accumulated tab bar + the fusion_get_app_state document list above. Happy to re-run with any instrumentation you want, or to paste the full state at any point in a run.