11-08-2023
08:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-08-2023
08:09 AM
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
(Not an Autodesk Employee)