<?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: Inventor hangs when running drawing ilogic code with application set to invisible in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-hangs-when-running-drawing-ilogic-code-with-application/m-p/11959509#M152526</link>
    <description>&lt;P&gt;can be that there is now a hidden dialog that wait for answer.&lt;/P&gt;
&lt;P&gt;us also inventorapp.silentoperation = true when inventorapp.visible = false is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 12:08:45 GMT</pubDate>
    <dc:creator>bradeneuropeArthur</dc:creator>
    <dc:date>2023-05-12T12:08:45Z</dc:date>
    <item>
      <title>Inventor hangs when running drawing ilogic code with application set to invisible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-hangs-when-running-drawing-ilogic-code-with-application/m-p/11956480#M152415</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've written some code which moves views and dimension on some drawings to update them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code works fine when inventor is visible but fails when I switch the application to invisible (I'm running invisible to try and speed it up).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code does not crash but instead just hangs with the cpu dropping to 0% for for the inventor application. If you wait around 5minutes the code will then continue to run. I only seem to get this behaviour on more complex assembly drawings (piece part drawings run fine).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached visual studio to the process and the error / strange behaviour always occurs when retrieving view information (such as oView.Width or oView.Height).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a known behaviour?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:02:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-hangs-when-running-drawing-ilogic-code-with-application/m-p/11956480#M152415</guid>
      <dc:creator>johnster100</dc:creator>
      <dc:date>2023-05-11T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor hangs when running drawing ilogic code with application set to invisible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-hangs-when-running-drawing-ilogic-code-with-application/m-p/11959509#M152526</link>
      <description>&lt;P&gt;can be that there is now a hidden dialog that wait for answer.&lt;/P&gt;
&lt;P&gt;us also inventorapp.silentoperation = true when inventorapp.visible = false is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 12:08:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-hangs-when-running-drawing-ilogic-code-with-application/m-p/11959509#M152526</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2023-05-12T12:08:45Z</dc:date>
    </item>
  </channel>
</rss>

