- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking for some way to check whether a given addin is loaded or not. I want to use this to determine whether to run my own alternative custom functions, in case the addin is not loaded (I'm using a third party addin, which I only load when I need its more complex functionality, because the addin is a drag on performance).
I would have thought I could do something like this:
Dim addIn As Inventor.ApplicationAddIn
addIns = inv_app.ApplicationAddIns
For Each addin In addIns
MsgBox(addin.Name)
Next
In order to get some kind of identification. I know that addins.ItemById("{3bdd8d79-2179-4b11-8a5a-257b1c0263ac}") yields the iLogic addin for example.
But doing so is not an option, since "Expression (i.e. "addins") is of type 'ApplicationAddin', which is not a collection type".
Does anyone know how to do this?
Thanks!
Solved! Go to Solution.