<?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: Refresh After using ScreenUpdating = false/true in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/8676924#M95905</link>
    <description>&lt;P&gt;try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application.ActiveView.Update();&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 12:48:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-22T12:48:13Z</dc:date>
    <item>
      <title>Refresh After using ScreenUpdating = false/true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/7888586#M82630</link>
      <description>&lt;P&gt;For performance, many people suggest disabling &lt;EM&gt;ScreenUpdating&lt;/EM&gt; while your program is running to reduce the overhead of generating the graphics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Code:&lt;/P&gt;&lt;PRE&gt;// Initialize
_invApp.ScreenUpdating = false;

// Program Code Here

// Cleanup
_invApp.ScreenUpdating = true;&lt;/PRE&gt;&lt;P&gt;However, after the program has run, Inventor acts as if it needs a repaint. with changes to the browser not appearing, new document tabs not showing, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read a few posts that dance around the topic, with the best suggestion appearing to be Minimize/Maximize the window after the program is done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else found a way to correct this, perhaps with some sort of repaint force or otherwise?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 18:24:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/7888586#M82630</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2018-03-27T18:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh After using ScreenUpdating = false/true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/8676924#M95905</link>
      <description>&lt;P&gt;try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application.ActiveView.Update();&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 12:48:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/8676924#M95905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-22T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh After using ScreenUpdating = false/true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/12432758#M161283</link>
      <description>&lt;P&gt;In my case, this is not helping and my browser items become unusable and overlapping to the point that I can't select anything in the browser. A minimize and restore also do not fix the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else found a solution for this yet?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 11:04:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/refresh-after-using-screenupdating-false-true/m-p/12432758#M161283</guid>
      <dc:creator>Raider_71</dc:creator>
      <dc:date>2023-12-11T11:04:08Z</dc:date>
    </item>
  </channel>
</rss>

