<?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: Dynamically Loaded Plugin Custom Tab Not Loading in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7225497#M4581</link>
    <description>&lt;P&gt;i believe this might be a better way. I have had no issues using this approach. with some tweaking yous should get this to work the way that you need it too&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/aec/2016/01/add-custom-panel-and-button-to-built-in-tab-of-navisworks-ribbon.html" target="_self"&gt;http://adndevblog.typepad.com/aec/2016/01/add-custom-panel-and-button-to-built-in-tab-of-navisworks-ribbon.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2017 12:10:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-13T12:10:03Z</dc:date>
    <item>
      <title>Dynamically Loaded Plugin Custom Tab Not Loading</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7109051#M4577</link>
      <description>&lt;P&gt;I have one plugin that dynamically loads another via the below code. &amp;nbsp;Both of these plugins have their own custom ribbon tabs. &amp;nbsp;If I call the below code during the initialization of the first plugin both tabs show up fine. &amp;nbsp;If I call the below code from a button in the first plugin's ribbon tab the second plugin's tab never shows up even though the second plugin is indeed loaded which I have verified via debugging and the AppInfo window of Navisworks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something that I have to do in order for Navisworks to "realize" that the dynamically loaded plugin has&amp;nbsp;it's own custom tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            PluginRecord record = Application.Plugins.FindPlugin(pluginNameString);
            if (record != null)
            {
                if (!record.IsLoaded)
                {
                    record.LoadPlugin();
                }
            }&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 May 2017 15:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7109051#M4577</guid>
      <dc:creator>logikgate</dc:creator>
      <dc:date>2017-05-25T15:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Loaded Plugin Custom Tab Not Loading</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7114936#M4578</link>
      <description>&lt;P&gt;Hi logikgate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i had also some issues with my RibbonLayout.xml.&lt;/P&gt;&lt;P&gt;So may be some icons/text are not found on demand loading (diffent paths?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bad thing is, that the log nothing say about whats missing -&amp;gt; Could be enhanced at Autodesk side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 14:08:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7114936#M4578</guid>
      <dc:creator>Rene_Gerlach</dc:creator>
      <dc:date>2017-05-29T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Loaded Plugin Custom Tab Not Loading</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7117440#M4579</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/962405"&gt;@Rene_Gerlach&lt;/a&gt;&amp;nbsp; I tried removing all icon images and have verified (via logs) that when the plugin is loaded dynamically Navisworks is indeed finding the *.name and *.xaml files. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I'm wondering if Navisworks just doesn't update the Ribbon when a plugin is loaded dynamically. &amp;nbsp;Has anyone successfully dynamically loaded a plugin that has a custom ribbon tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Plugin FlyPaper.Sherlock.AddIns.FlyP StringsAttribute(Sherlock.name) : Attempting to load strings...
LcUResource::FindLocalisedFile found C:\Users\abc\AppData\Roaming\Autodesk Navisworks Manage 2015\Plugins\FlyPaper.Sherlock\en-US\Sherlock.name
StringsAttribute : Loading SUCCEEDED from C:\Users\abc\AppData\Roaming\Autodesk Navisworks Manage 2015\Plugins\FlyPaper.Sherlock\en-US\Sherlock.name
LcUResource::FindLocalisedFile found C:\Users\abc\AppData\Roaming\Autodesk Navisworks Manage 2015\Plugins\FlyPaper.Sherlock\en-US\Sherlock.xaml&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 16:48:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7117440#M4579</guid>
      <dc:creator>logikgate</dc:creator>
      <dc:date>2017-05-30T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Loaded Plugin Custom Tab Not Loading</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7137674#M4580</link>
      <description>&lt;P&gt;Hello logikgate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe this help: Use Same Tab with Different Plugins&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-api/use-same-tab-with-different-plugins/td-p/5760643" target="_blank"&gt;https://forums.autodesk.com/t5/navisworks-api/use-same-tab-with-different-plugins/td-p/5760643&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And on loading activate the Ribbon like in sample CustomRibbonHandler.cs - CanExecuteRibbonTab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one workaround could add all needed ribbon/ribbonpanel etc dynamically without the xml.&lt;/P&gt;&lt;P&gt;You can use again the AdWindow.dll (like mentioned in&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/navisworks-api/localize-ribbonpanel-title-in-name-file/td-p/7017256" target="_blank"&gt;Localize RibbonPanel Title in Name File&lt;/A&gt; ) and&amp;nbsp;Autodesk.Navisworks.Gui.Roamer.AIRLook functions to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:45:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7137674#M4580</guid>
      <dc:creator>Rene_Gerlach</dc:creator>
      <dc:date>2017-06-08T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Loaded Plugin Custom Tab Not Loading</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7225497#M4581</link>
      <description>&lt;P&gt;i believe this might be a better way. I have had no issues using this approach. with some tweaking yous should get this to work the way that you need it too&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/aec/2016/01/add-custom-panel-and-button-to-built-in-tab-of-navisworks-ribbon.html" target="_self"&gt;http://adndevblog.typepad.com/aec/2016/01/add-custom-panel-and-button-to-built-in-tab-of-navisworks-ribbon.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:10:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/dynamically-loaded-plugin-custom-tab-not-loading/m-p/7225497#M4581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T12:10:03Z</dc:date>
    </item>
  </channel>
</rss>

