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

Hi @Marco_PeronXTBPH.  When I want to use the iLogic rule logger in a referenced Class in an external file that I am referencing into an iLogic rule, I just declare the 'Logger' variable again within that Class.  Then you do not even need to set a value to that variable, because of how it works.  The following lines of code are an example of how to access and use those types of things, as long as your references are set up properly.

Private iLogicAuto As Autodesk.iLogic.Interfaces.IiLogicAutomation
Private Logger As Autodesk.iLogic.Interfaces.IRuleLogger

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)