<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits in Fusion Electronics Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14289140#M24737</link>
    <description>&lt;P&gt;Hi Aske, disclosure: I run Adom. We make a free, MIT-licensed Fusion add-in and local bridge that lets an AI drive Fusion Electronics end to end, and over the last five months we have hit your whole list.&lt;/P&gt;&lt;P&gt;Jorge's news is good: when Autodesk's electronics write API lands, we will build on it, and on Autodesk's MCP servers, because native support makes all of this simpler. But to your closing question, yes, you can drive Electron.run safely today. Here is how, point by point:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Modal dialogs.&lt;/STRONG&gt; Before each command we read every open Fusion dialog through Windows UI Automation (title, text, buttons), answer the ones we recognise, cancel unknown ones in the background, and hand the text back to the agent instead of hanging. One warning: Fusion's floating Browser panel is also titled "Fusion360", and closing it can close Fusion, so only close windows that are plainly dialogs.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The library browser from ADD.&lt;/STRONG&gt; The same path cancels it. We have a short demo of exactly this: a script runs ADD, the picker blocks it, the bridge reads the dialog and cancels it in the background, and the script carries on. Better still, we never need ADD: we write parts as EAGLE source and open it with Document.newDesignFromLocal, which raises no dialog.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKPbHgk800wE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKPbHgk800wE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKPbHgk800wE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: clearing a modal dialog that blocks a script" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Undo.&lt;/STRONG&gt; Nothing native for Electron.run edits yet, so we save checkpoints before each batch.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The armed state.&lt;/STRONG&gt; Your terminateActiveCommand workaround matches ours.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Screenshots of the 2D editors.&lt;/STRONG&gt; We capture the Fusion window itself, which works on schematics and boards, even with Fusion in the background. Every Fusion frame in our demos is captured that way.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Putting it together, here is our demo of one prompt writing electronics end to end: it opens a parts library, writes a schematic, places the parts on a 2D board and checks the 3D board, with no dialogs and no hands on the mouse.&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTh_HwxCgleE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTh_HwxCgleE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTh_HwxCgleE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: one prompt from a parts library to a 3D board" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;One more wall you will hit once you write designs, not on your list: parts need 3D models, and attaching STEP models to a multi-part library is where we spent the most time. Three traps: a raw STEP bound by urn shows "Thumbnail download failed" (only an .f3d renders); the 3D package generator's FINISH opens modals no script can close; and the generator loads the first package of the open library, so every chip lands on part one's footprint. What works, in this order: one library per part, start the generator on it, import the STEP, Save As an .f3d instead of FINISH, build the urn from the cloud lineage id, then write every urn into the merged library in one pass. Our demo of that, six parts bound and checked:&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpoAy__9Iggw%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpoAy__9Iggw&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpoAy__9Iggw%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: a real 3D model on every part of a library" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;The source is public, with a contributing guide if you want to send fixes back: &lt;A href="https://wiki.adom.inc/adom/fusion-bridge" target="_blank" rel="noopener"&gt;wiki.adom.inc/adom/fusion-bridge&lt;/A&gt;. Happy to compare notes, and thanks Jorge for passing these to the API team.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2026 10:35:03 GMT</pubDate>
    <dc:creator>JohnLauer_Adom</dc:creator>
    <dc:date>2026-10-05T10:35:03Z</dc:date>
    <item>
      <title>Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14286758#M24728</link>
      <description>&lt;P&gt;i Fusion Team,&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Is write support for the electronics API on the roadmap, and is there a recommended way to drive Electron.run safely until then?&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Aske&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2026 14:43:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14286758#M24728</guid>
      <dc:creator>aske.carstensen</dc:creator>
      <dc:date>2026-10-02T14:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14287078#M24729</link>
      <description>&lt;P&gt;&lt;EM&gt;to edit electronics schematics&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Why aren't you using the editor? It should have most needed things available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly are you trying to do--something other than fusion electronics design?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2026 18:47:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14287078#M24729</guid>
      <dc:creator>nnovotney</dc:creator>
      <dc:date>2026-10-02T18:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14287213#M24730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8528177"&gt;@aske.carstensen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you're doing well. The write API is actually planned to be released in the very near term, I have shared this thread with the devs working on the API to make sure these concerns get addressed as soon as possible.&lt;BR /&gt;&lt;BR /&gt;If there is some other workaround right now, those devs would know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if there's anything else I can do for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2026 21:42:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14287213#M24730</guid>
      <dc:creator>jorge_garcia</dc:creator>
      <dc:date>2026-10-02T21:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14289140#M24737</link>
      <description>&lt;P&gt;Hi Aske, disclosure: I run Adom. We make a free, MIT-licensed Fusion add-in and local bridge that lets an AI drive Fusion Electronics end to end, and over the last five months we have hit your whole list.&lt;/P&gt;&lt;P&gt;Jorge's news is good: when Autodesk's electronics write API lands, we will build on it, and on Autodesk's MCP servers, because native support makes all of this simpler. But to your closing question, yes, you can drive Electron.run safely today. Here is how, point by point:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Modal dialogs.&lt;/STRONG&gt; Before each command we read every open Fusion dialog through Windows UI Automation (title, text, buttons), answer the ones we recognise, cancel unknown ones in the background, and hand the text back to the agent instead of hanging. One warning: Fusion's floating Browser panel is also titled "Fusion360", and closing it can close Fusion, so only close windows that are plainly dialogs.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The library browser from ADD.&lt;/STRONG&gt; The same path cancels it. We have a short demo of exactly this: a script runs ADD, the picker blocks it, the bridge reads the dialog and cancels it in the background, and the script carries on. Better still, we never need ADD: we write parts as EAGLE source and open it with Document.newDesignFromLocal, which raises no dialog.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKPbHgk800wE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKPbHgk800wE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKPbHgk800wE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: clearing a modal dialog that blocks a script" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Undo.&lt;/STRONG&gt; Nothing native for Electron.run edits yet, so we save checkpoints before each batch.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The armed state.&lt;/STRONG&gt; Your terminateActiveCommand workaround matches ours.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Screenshots of the 2D editors.&lt;/STRONG&gt; We capture the Fusion window itself, which works on schematics and boards, even with Fusion in the background. Every Fusion frame in our demos is captured that way.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Putting it together, here is our demo of one prompt writing electronics end to end: it opens a parts library, writes a schematic, places the parts on a 2D board and checks the 3D board, with no dialogs and no hands on the mouse.&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTh_HwxCgleE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTh_HwxCgleE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTh_HwxCgleE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: one prompt from a parts library to a 3D board" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;One more wall you will hit once you write designs, not on your list: parts need 3D models, and attaching STEP models to a multi-part library is where we spent the most time. Three traps: a raw STEP bound by urn shows "Thumbnail download failed" (only an .f3d renders); the 3D package generator's FINISH opens modals no script can close; and the generator loads the first package of the open library, so every chip lands on part one's footprint. What works, in this order: one library per part, start the generator on it, import the STEP, Save As an .f3d instead of FINISH, build the urn from the cloud lineage id, then write every urn into the merged library in one pass. Our demo of that, six parts bound and checked:&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpoAy__9Iggw%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpoAy__9Iggw&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpoAy__9Iggw%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Hydrogen + Fusion bridge: a real 3D model on every part of a library" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;The source is public, with a contributing guide if you want to send fixes back: &lt;A href="https://wiki.adom.inc/adom/fusion-bridge" target="_blank" rel="noopener"&gt;wiki.adom.inc/adom/fusion-bridge&lt;/A&gt;. Happy to compare notes, and thanks Jorge for passing these to the API team.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2026 10:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14289140#M24737</guid>
      <dc:creator>JohnLauer_Adom</dc:creator>
      <dc:date>2026-10-05T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14290093#M24746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15184193"&gt;@JohnLauer_Adom&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you're doing well. Thanks for sharing this, I had never heard of your bridge. It looks excellent and I look forward to what you will do once the full API is out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2026 18:14:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14290093#M24746</guid>
      <dc:creator>jorge_garcia</dc:creator>
      <dc:date>2026-10-05T18:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14310067#M24866</link>
      <description>&lt;P&gt;Hi Jorge and Aske,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We just released our Fusion Bridge which lets you fully build electronics now in Fusion! Jorge, would it be ok if I posted this announcement in a new thread? I know some communities get concerned about announcements.&lt;BR /&gt;&lt;BR /&gt;We're excited for when Autodesk adds even more features because we have to do a lot of screenshotting of fusion to deal with some tougher-to-automate aspects of it, we also have to jump through a lot of hoops to build libraries like creating parts one by one and then merging to larger libraries to get 3D chips to import correctly. We also have to do some extra authenticating to get cloud search to run via your APS search mechanism, etc.&lt;BR /&gt;&lt;BR /&gt;The Fusion Bridge is open source. Hydrogen is free and supported by the National Science Foundation. Have fun all.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=iMIVb8FOXnI" target="_blank"&gt;https://www.youtube.com/watch?v=iMIVb8FOXnI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-John&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2026 14:12:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14310067#M24866</guid>
      <dc:creator>JohnLauer_Adom</dc:creator>
      <dc:date>2026-10-12T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Electronics API + MCP: modal dialogs block scripts, no undo for Electron.run edits</title>
      <link>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14312162#M24869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15184193"&gt;@JohnLauer_Adom&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you're doing well. I've consulted with the team and there is no issue with you posting about Adom on a new thread. Since it's all for the benefit of our Fusion users there is no problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if there's anything else I can do for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2026 20:30:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-electronics-forum/electronics-api-mcp-modal-dialogs-block-scripts-no-undo-for/m-p/14312162#M24869</guid>
      <dc:creator>jorge_garcia</dc:creator>
      <dc:date>2026-10-13T20:30:16Z</dc:date>
    </item>
  </channel>
</rss>

