- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i Fusion Team,
I use the Fusion MCP connector with Claude Desktop to edit electronics schematics (Fusion 2705.1.25, Windows). Reading through adsk.electron works well. Since the electronics API is read-only, every edit goes through app.executeTextCommand('Electron.run ...'). That works, but five things make it fragile:
1. Modal dialogs block everything. An error raised by an Electron.run command, for example a NETROUTE syntax error, opens a modal dialog. Every following script is refused with "Cannot perform 'script' while a command dialog is open" until a person closes it. SET CONFIRM NO does not suppress these error dialogs. Request: for API-initiated commands, return the error to executeTextCommand as a string or exception instead of showing a dialog.
2. A selection window can hang Fusion. ADD with a wildcard that matches several devices opens the library browser inside the script, and Fusion's main thread waits until someone cancels it. Request: never open selection UI for API-initiated commands, fail with an error instead.
3. No undo for Electron.run edits. They don't appear on Fusion's undo stack, and UNDO through Electron.run has no effect. One wrong wire means manual cleanup. Request: put these edits on the undo stack, ideally one entry per script. Should Schematic.beginDesignChange / endDesignChange cover this?
4. Hidden armed state. After some commands (ADD, or DELETE without a trailing semicolon) writes are refused while activeCommand reports Electron::Group and nothing is visible on screen. Calling ui.terminateActiveCommand() at the end of each script prevents it, and saving clears it. Request: make activeCommand reflect an armed EAGLE tool.
5. No screenshots of electronics editors. The MCP screenshot call returns "No active graphics view available" when a schematic or PCB is active, so an agent cannot check its own layout work visually. Request: support MCP screenshots of the 2D schematic and PCB canvas, or an image export of a sheet or region (PNG or SVG) through Schematic.exportManager.
Is write support for the electronics API on the roadmap, and is there a recommended way to drive Electron.run safely until then?
best regards
Aske
Solved! Go to Solution.
