Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: vpeuvion

Hi @vpeuvion.  I do not create add-ins or exe's myself, but it looks to me like that 'iLogicVb' is just a term (like a variable) that is declared within the 'ThisRule' Class for us automatically in the background in the iLogic rule editor environment.  So, it seems to me that as long as you have included a reference to the Autodesk.iLogic.Interfaces resource, I'm thinking you should be able to simply recreate that same variable within your routine.  And I don't think you even need to instantiate it with the 'New' keyword.

Dim iLogicVb As Autodesk.iLogic.Interfaces.ILowLevelSupport

Likely the biggest catch in trying to use it in an external exe is that this is a resource for an Inventor ApplicationAddIn, which resides inside of the Inventor process, and likely only gets looked at after Inventor has fully loaded, and after the iLogic add-in has loaded, so that resource may be looking for / referring to / trying to access other accompanying resources that are only available after that stage in the process.  And I believe exe's run outside of the Inventor process, by design, making this an odd situation.  There may need to be accompanying resources referenced/imported in order to make that work.  But I am not an expert in coding for exe's, so I may not be making much sense here.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)