Start Inventor without Addins

Start Inventor without Addins

Anonymous
Not applicable
817 Views
2 Replies
Message 1 of 3

Start Inventor without Addins

Anonymous
Not applicable

Hi All,

 

I'm writing a program that I would like to start Inventor in the background, from the code. The trouble is that when Inventor starts, it hangs due to one or more of the addins not playing fair (if I manually turn all the addins off it starts fine). Is there a way of getting Inventor to start without the addins loading (by turning the off maybe, or some command line parameter), and then reset the addin load settings before closing?

 

I've seen a post that suggests that using Apprintice to turn off the addins, but I can't for the life of me figure out how this is done...

 

Any help would be greatly appreciated.

 

Kind regards

 

Jon.

0 Likes
Accepted solutions (2)
818 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

I see a couple options here.

 

If you are using a version of inventor that supports registry-free addins you will need to find the various folders (one should be system wide and in programdata and another should be user specific and I think it's in the users' appdata folder) and parse the .addin xml files to disable the addins loading at startup.

 

If you are using a version of inventor that doesn't support registry-free addins (prior to 2012 i think) then you will need to find the addins by searching the registry and disabling them by changing their flags.  I think I ran into an issue in 2013 where it was loading the registry based addins and would ignore my attempts at disabling them in the addin manager so you may have to do the registry based search even in the later versions of inventor to make sure both registry based and registry-free based addins are found and disabled.

 

There may be an easier way than this, but this should work too.

 

Thanks,

Message 3 of 3

Anonymous
Not applicable
Accepted solution

Hi Farren,

 

We're currently on 2010, but moving on to 2013 imminently - so probalby in a couple of years!!

 

I'll have a look through the registry and see what I can find - how much fun will that be??

 

Thanks for your input.

 

Jon.

0 Likes