Message 1 of 1
About loading an addin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I have some questions about how an addin is loaded:
- What is the order in which all the addins are loaded by inventor? Can I change that?
- 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.
- 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.