Amit Kumar

Change the order in which Addins are loaded by SolidWorks during startup

Discussion created by Amit Kumar on Oct 25, 2019
Latest reply on Oct 28, 2019 by Amit Kumar

Hello All,

I am developing an addin for SolidWorks. I wanted to know how can we change the order in which plugins are loaded during startup?



According to my understanding SolidWorks during startup looks at the  location HKLM\Software\Solidworks\AddIns in the system registry to read the active Addins and decided whether to load the plugin at startup by seeing at the following location HKCU\Software\SolidWorks\AddInsStartup

Now if I have following entries in system registry:



      - SolidWorks

         - AddIns

            - { 03d2XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(A)

            - { 35D3XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(B)

            - { 581DXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(C)

            - { 8155XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX }  -----------------------------(D)

            - { 898FXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX }  -----------------------------(E)


SolidWorks seems to load the addins in the above order means first A followed by B ...........and at last E.

I want SolidWorks to load the addin (D)  before (A) during startup, How can I achieve this ?