<?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: Change add-in load order in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13008972#M6539</link>
    <description>&lt;P&gt;The way you describe the addins not loading - sounds like it could be a dependency issue. Your addin and the vault addin may be trying to load different versions of a dependency and that is causing one of them to not load afterwards.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 11:22:47 GMT</pubDate>
    <dc:creator>g.georgiades</dc:creator>
    <dc:date>2024-09-09T11:22:47Z</dc:date>
    <item>
      <title>Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002683#M6532</link>
      <description>&lt;P&gt;I have an add-in that utilizes references to Vault. However, I've found that in 2025 if my add-in loads first, the vault add-in fails to load. I've changed the ClassID of my add-in to load later with no effect, and tried using the suggestions found&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/add-in-load-order/td-p/7164084" target="_blank" rel="noopener"&gt;here&lt;/A&gt;, &lt;A href="https://forums.autodesk.com/t5/inventor-forum/xml-that-stores-addin-load-unload-etc-settings/td-p/12700454" target="_blank" rel="noopener"&gt;here&lt;/A&gt;, and &lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/wait-add-in-from-loading/m-p/7882134#M82515" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The issues is that the only way I can place a wait on my add-in is at the&amp;nbsp;ApplicationAddInServer.Activate stage. Which means that my add-in is already activated preventing Vault from activating. I tried programmatically deactivating mine and activating vault, but this causes an unknown error when I activate the vault add-in. The only way it seems is to start Inventor with my add-in set to not load automatically and then manually load it once Inventor starts, which I naturally wish to avoid.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 13:40:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002683#M6532</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2024-09-05T13:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002769#M6533</link>
      <description>&lt;P&gt;Vault addin is loaded when start up.&amp;nbsp; In IV2023.&lt;/P&gt;&lt;P&gt;If your addin load on files open (part), it should work.&lt;/P&gt;&lt;P&gt;Unless you need it to load on start also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't if your addin can loop and wait and check of Vault addin is loaded.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:19:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002769#M6533</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-09-05T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002797#M6534</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;BR /&gt;&lt;BR /&gt;This &lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-46EED9AC-23EC-4122-AEAF-76379EAF750C" target="_blank" rel="noopener"&gt;reference&lt;/A&gt; states that the add-ins for Inventor Pro only load at startup and not in session. So I can unload it later, but since it has already been loaded when Vault add-in wishes to load, vault never loads in order to activate it later.&lt;BR /&gt;&lt;BR /&gt;This matches what I've been seeing, where I can have the buttons load in assemblies/parts/drawings etc, but the add-in itself loads only at startup.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:25:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002797#M6534</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2024-09-05T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002898#M6535</link>
      <description>&lt;P&gt;My addins are not loaded in Startup (since at least IV2012), Vault is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AddinLoading-01.jpg" style="width: 786px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406083iC98A08AFC93BE3CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="AddinLoading-01.jpg" alt="AddinLoading-01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LoadBehavior is set in the .addin file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-52422162-1784-4E8F-B495-CDB7BE9987AB" target="_blank"&gt;https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-52422162-1784-4E8F-B495-CDB7BE9987AB&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:53:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13002898#M6535</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-09-05T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003008#M6536</link>
      <description>&lt;P&gt;Right, I had long since set that and forgot about it. I have mine set to&lt;/P&gt;&lt;P&gt;&amp;lt;LoadBehavior&amp;gt;1&amp;lt;/LoadBehavior&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll fiddle around with this and see if I can get different results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 15:27:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003008#M6536</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2024-09-05T15:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003162#M6537</link>
      <description>&lt;P&gt;I tried this in iLogic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim oAppAddin As ApplicationAddIn
Dim oAppAddins As ApplicationAddIns

oAppAddins = ThisApplication.ApplicationAddIns
For Each oAppAddin In oAppAddins
	Logger.Info(oAppAddin.DisplayName)
	Logger.Info(oAppAddin.Activated.ToString)
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-FAA0D34E-FAEB-456D-A3C3-0F8225753D85" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-FAA0D34E-FAEB-456D-A3C3-0F8225753D85&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should be able to do in addin and check if Vault is loaded/active.&lt;/P&gt;&lt;P&gt;Question is: are addin loads in parallel?&lt;/P&gt;&lt;P&gt;If not, waiting for Vault to be active will not work.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 16:39:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003162#M6537</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-09-05T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003490#M6538</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5289378"&gt;@Frederick_Law&lt;/a&gt;&amp;nbsp;, you were correct to reference the load behavior setting.&lt;BR /&gt;My .addin file was still built on an older template so it referenced&amp;nbsp;&amp;lt;LoadOnStartup&amp;gt; and not&amp;nbsp;&amp;lt;LoadBehavior&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Replacing &amp;lt;LoadOnStartup&amp;gt;1&amp;lt;/LoadOnStartup&amp;gt; in the .addin file with &amp;lt;LoadBehavior&amp;gt;1&amp;lt;/LoadBehavior&amp;gt; resolved the issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 19:08:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13003490#M6538</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2024-09-05T19:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change add-in load order</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13008972#M6539</link>
      <description>&lt;P&gt;The way you describe the addins not loading - sounds like it could be a dependency issue. Your addin and the vault addin may be trying to load different versions of a dependency and that is causing one of them to not load afterwards.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 11:22:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-add-in-load-order/m-p/13008972#M6539</guid>
      <dc:creator>g.georgiades</dc:creator>
      <dc:date>2024-09-09T11:22:47Z</dc:date>
    </item>
  </channel>
</rss>

