<?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: The mapkeys do not wait for simulation to end in the Module Works in Manufacturing (CAM)</title>
    <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1059332#M5797</link>
    <description>&lt;P&gt;I don't have any API examples I can share. Some users have had success with AutoIt scripting to implement similar automations. You can find references and perhaps some examples of using AutoIt here in the community. Search for posts made by &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66315"&gt;@MartinHanak&lt;/a&gt; who recently retired but has many posts in the archives.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.autoitscript.com/site/autoit/" target="_blank" rel="noopener"&gt;https://www.autoitscript.com/site/autoit/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2026 17:03:23 GMT</pubDate>
    <dc:creator>tbraxton</dc:creator>
    <dc:date>2026-03-19T17:03:23Z</dc:date>
    <item>
      <title>The mapkeys do not wait for simulation to end in the Module Works</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058316#M5791</link>
      <description>I am using Creo Parametric Release 8.0 and Datecode8.0.12.0&lt;BR /&gt;&lt;BR /&gt;The mapkey doesn't wait for the simulation to end in the Material Removal (Module Works).&lt;BR /&gt;Once the simulation is started in the Module Works window, all buttons except the Stop button are disabled until the simulation ends.&lt;BR /&gt;How can I add a script to the mapkey that queries the window and waits for the simulation to end?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 12 Mar 2026 10:42:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058316#M5791</guid>
      <dc:creator>C_Spagnolli</dc:creator>
      <dc:date>2026-03-12T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: The mapkeys do not wait for simulation to end in the Module Works</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058386#M5792</link>
      <description>&lt;P&gt;Have you tried defining the mapkey to pause once the simulation is started and wait for the user to resume it once the sim has completed? The other option is to have the mapkey call an external script from the OS if you can integrate such a script and the script can detect the completion of the sim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mapkeys do not support most programming type functions so if you need to do this as you state above you will probably have to use one of the Creo APIs to write an app.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 16:32:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058386#M5792</guid>
      <dc:creator>tbraxton</dc:creator>
      <dc:date>2026-03-12T16:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: The mapkeys do not wait for simulation to end in the Module Works</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058475#M5794</link>
      <description>&lt;P&gt;Yes at the moment i use a mapkey with a powershell&amp;nbsp;script,&amp;nbsp;which start a (Start-Sleep -Seconds 60).&lt;/P&gt;&lt;P&gt;This time frame allows me to finish my various simulations.&lt;/P&gt;&lt;P&gt;Some simulations finish in a few seconds and this method is not optimized.&lt;/P&gt;&lt;P&gt;Do you have an example for making an app with the Creo API?&lt;BR /&gt;Do you think I can do the same with PowerShell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 07:16:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1058475#M5794</guid>
      <dc:creator>C_Spagnolli</dc:creator>
      <dc:date>2026-03-13T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: The mapkeys do not wait for simulation to end in the Module Works</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1059332#M5797</link>
      <description>&lt;P&gt;I don't have any API examples I can share. Some users have had success with AutoIt scripting to implement similar automations. You can find references and perhaps some examples of using AutoIt here in the community. Search for posts made by &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66315"&gt;@MartinHanak&lt;/a&gt; who recently retired but has many posts in the archives.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.autoitscript.com/site/autoit/" target="_blank" rel="noopener"&gt;https://www.autoitscript.com/site/autoit/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 17:03:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/The-mapkeys-do-not-wait-for-simulation-to-end-in-the-Module/m-p/1059332#M5797</guid>
      <dc:creator>tbraxton</dc:creator>
      <dc:date>2026-03-19T17:03:23Z</dc:date>
    </item>
  </channel>
</rss>

