About loading an addin

About loading an addin

smilinger
Advisor Advisor
344 Views
0 Replies
Message 1 of 1

About loading an addin

smilinger
Advisor
Advisor

Hi, I have some questions about how an addin is loaded:

 

  1. What is the order in which all the addins are loaded by inventor? Can I change that?
  2. How can I detect another addin (the vault addin, for example) is unloaded or loaded by user, immediately? I know I can check the Activated property of an addin, but I don't want to check for that all the time, I want something like an event. I tried to listen to the UserInputEvents.OnTerminateCommand event of the Add-in Manager command, but this command cannot be captured.
  3. How to cancel/abort the loading of my addin? I can only think of call Deactivate() in Activate() directly, but this does not sound good. If I just return in Activate(), the addin will still show as activated in Inventor.
0 Likes
345 Views
0 Replies
Replies (0)