- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello @Louie_Harvey and @WCrihfield , thank you for your answers.
I really feel like you can't use it outside of iLogic, but you can declare it easily.
I did quite a bit of testing and when I was coding
Dim iLogicVb As Autodesk.iLogic.Interfaces.ILowLevelSupport
I was getting an error saying 'iLogicVb was Nothing' when I tried to use it.
I tried creating a new instance and I got an error saying 'New' cannot be used on an interface.
I had thought to have found a track while passing by addIn.parent but I did not manage to find the continuation.
Dim addIn As ApplicationAddIn = ThisApplication.ApplicationAddIns.ItemById("{3bdd8d79-2179-4b11-8a5a-257b1c0263ac}") addIn.Parent
My EXE is started after Inventor is fully loaded, it connects to the current inventor application, I thought it was possible to grab the current application's iLogicVb.
I asked the question to a consultant who replied that it was not valid outside of ilogic.
Maybe since it's part of ThisRule.iLogicVb, it's only accessible when an iLogic rule is running.
For the moment I have no more ideas, I work in degraded mode by passing the Automation As IiLogicAutomation.
In any case thank you for your answers, if I have news I will post them.
THANKS.
Vincent.