<?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 Check the vendor ID's of all loaded apps in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969409#M3544</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to implement a feature that will check if another one of my addins is loaded into the user's current Revit session. If so, I'd like to group them under a single ribbon tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't use a Schema since this needs to happen in the OnStartup method, which only provides access to the UIControlledApplication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 08:52:46 GMT</pubDate>
    <dc:creator>damiankrasuckibusiness</dc:creator>
    <dc:date>2024-08-20T08:52:46Z</dc:date>
    <item>
      <title>Check the vendor ID's of all loaded apps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969409#M3544</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to implement a feature that will check if another one of my addins is loaded into the user's current Revit session. If so, I'd like to group them under a single ribbon tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't use a Schema since this needs to happen in the OnStartup method, which only provides access to the UIControlledApplication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 08:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969409#M3544</guid>
      <dc:creator>damiankrasuckibusiness</dc:creator>
      <dc:date>2024-08-20T08:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Check the vendor ID's of all loaded apps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969493#M3545</link>
      <description>&lt;P&gt;Implementing this inside OnStartup might defeat its purpose. That method is called during the loading process of your add-in. So, there is no way to know whether your other add-ins have already been loaded or not, and therefore, whatever list you generate inside&amp;nbsp;OnStartup might and very probably will be incomplete. Maybe&amp;nbsp;ApplicationInitialized is a more suitable context for this kind of thing. However, you must also be aware that additional add-ins can be loaded midsession. So, your list might never be complete. That said, to answer your question, I see two previous discussions here in the forum on determining which applications have been loaded, both with the same answer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://duckduckgo.com/?q=revit+api+loaded+addins&amp;amp;ia=web" target="_blank"&gt;https://duckduckgo.com/?q=revit+api+loaded+addins&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/list-of-all-loaded-add-ins/td-p/9533854" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/list-of-all-loaded-add-ins/td-p/9533854&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/get-all-loaded-revit-addins-info/td-p/10575416" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/get-all-loaded-revit-addins-info/td-p/10575416&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;You can get the list of loaded applications using UIApplication.LoadedApplications property. It returns a list of IExternalApplication entities, then you can get parent assemblies location of each application,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 09:49:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969493#M3545</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-08-20T09:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Check the vendor ID's of all loaded apps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969498#M3546</link>
      <description>&lt;P&gt;Thank you, Jeremy!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 09:54:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/check-the-vendor-id-s-of-all-loaded-apps/m-p/12969498#M3546</guid>
      <dc:creator>damiankrasuckibusiness</dc:creator>
      <dc:date>2024-08-20T09:54:05Z</dc:date>
    </item>
  </channel>
</rss>

