<?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: Disable screen updating in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/8211433#M3625</link>
    <description>&lt;P&gt;I noticed another thing. My program also uses&amp;nbsp;Search API (&lt;A href="http://adndevblog.typepad.com/aec/2012/05/navisworks-net-api-find-item.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2012/05/navisworks-net-api-find-item.html&lt;/A&gt;) and if when you start the program open Find Items panel, it behaves the same way and it is also very much slows down the program.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Aug 2018 15:12:43 GMT</pubDate>
    <dc:creator>kirill78zah</dc:creator>
    <dc:date>2018-08-20T15:12:43Z</dc:date>
    <item>
      <title>Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/8211317#M3624</link>
      <description>&lt;P&gt;&amp;nbsp;I noticed a very strange problem in the API (NavisWorks 2018). I created&amp;nbsp;a script that adds a large number of custom properties to model&amp;nbsp;items according to an Excel table. I followed this article - &lt;A href="http://adndevblog.typepad.com/aec/2012/08/addmodifyremove-custom-attribute-using-com-api.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2012/08/addmodifyremove-custom-attribute-using-com-api.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run my script if the properties panel is open, it starts to flicker intensively as if it is constantly updated and most importantly it has a very strong effect on the program's running time. If I run the script when the properties panel is closed the run time is much less.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I turn off screen updating?&lt;/P&gt;&lt;P&gt;Is it possible to close the properties panel programmatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 14:39:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/8211317#M3624</guid>
      <dc:creator>kirill78zah</dc:creator>
      <dc:date>2018-08-20T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/8211433#M3625</link>
      <description>&lt;P&gt;I noticed another thing. My program also uses&amp;nbsp;Search API (&lt;A href="http://adndevblog.typepad.com/aec/2012/05/navisworks-net-api-find-item.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2012/05/navisworks-net-api-find-item.html&lt;/A&gt;) and if when you start the program open Find Items panel, it behaves the same way and it is also very much slows down the program.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 15:12:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/8211433#M3625</guid>
      <dc:creator>kirill78zah</dc:creator>
      <dc:date>2018-08-20T15:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/11446649#M3626</link>
      <description>&lt;P&gt;Please try this&amp;gt;&lt;BR /&gt;While your code runs during you have a active progress, the NW will not update the Ui.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;/// &amp;lt;summary&amp;gt;
/// Shows the basic concept of using the Progress class
/// &amp;lt;/summary&amp;gt;
private static void SimpleProgressExample()
{
   //first get reference to an instance of the Progress class
   Progress progress = Autodesk.Navisworks.Api.Application.BeginProgress();

   double stage;

   for (stage = 0.0; stage &amp;lt; 1.0; stage += 0.1)
   {
      //Update progress bar
      progress.Update(stage);

      //#####Execute your code here##########
      //You need to adapt this code to your context.
   }

   //Update progress bar to 100%
   progress.Update(1.0);

   //notify the API that the operation has finished
   Autodesk.Navisworks.Api.Application.EndProgress();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 21:25:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/11446649#M3626</guid>
      <dc:creator>Dricosr</dc:creator>
      <dc:date>2022-09-26T21:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13711235#M8202</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I encountered the same performance issue with the properties and find item pane.&lt;BR /&gt;The UI keeps refreshing even with an active Progress.&lt;BR /&gt;&lt;BR /&gt;I've seen other posts on this forum board asking for ways to close/open a native DockPane by code but the API doesn't seems to allow this use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a workaround to telling my users to manually close the native panes before using custom actions, I'd gladly hear about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 14:41:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13711235#M8202</guid>
      <dc:creator>roomn</dc:creator>
      <dc:date>2025-07-04T14:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13711882#M8205</link>
      <description>&lt;P&gt;Better iterate through ItemCollection, rather than items one by one&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And wrap it into Transaction, this way you could undo all changes in one action call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 07:39:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13711882#M8205</guid>
      <dc:creator>mikhail_khrushchev</dc:creator>
      <dc:date>2025-07-05T07:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13713563#M8207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible to hide/show dock panel, even created by Navisworks itself.&lt;/P&gt;&lt;P&gt;The easiest is to virtualy click on the ribbon panel's button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This toggles the tree window&lt;/P&gt;&lt;LI-CODE lang="general"&gt;using Autodesk.Windows;
...
var ribbonItem = Autodesk.Windows.ComponentManager.Ribbon.FindItem("RoamerGUI_OM_VIEW_TREE", false);
Autodesk.Windows.ComponentManager.ApplicationMenu.CommandHandler.Execute(ribbontItem);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can access visibility thanks to isChecked property when casting ribbonItem as RibbonButton or RibbonCheckBox.&lt;/P&gt;&lt;P&gt;You can get button id inside the xaml file of the native ribbon in the installation directory of Navisworks&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 09:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13713563#M8207</guid>
      <dc:creator>lanneauolivier</dc:creator>
      <dc:date>2025-07-07T09:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable screen updating</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13718363#M8208</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I add no issue finding the right&amp;nbsp;&lt;SPAN&gt;RibbonButton&amp;nbsp;IDs and the toggle works as expected.&lt;BR /&gt;&lt;BR /&gt;Strangly enough (for the FindItem "&lt;/SPAN&gt;&lt;SPAN&gt;RoamerGUI_OM_FIND_ITEM" Button at least),&amp;nbsp;&lt;SPAN&gt;isChecked&amp;nbsp;is always False but IsActive toggle with the button executing.&lt;BR /&gt;By storing the IsActive value, I can even toggle back on the pane which makes it transparent for the user.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 20:55:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/disable-screen-updating/m-p/13718363#M8208</guid>
      <dc:creator>roomn</dc:creator>
      <dc:date>2025-07-09T20:55:47Z</dc:date>
    </item>
  </channel>
</rss>

