05-21-2024
07:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-21-2024
07:22 AM
I actually used to do this using the API, but the iLogic snippet is way faster than what I had because my code needed to loop through all the rows (which are usually thousands of them) to find the correct row and the code is just a lot easier to write and read.
Anyway you are correct that using iLogic snippets in straight VB code is a bit of a special situation, but because I pass the interfaces I need it works, or at least it does when called from an internal rule.
Public Sub New(Components As IManagedComponents, Component As ICadComponent)
Me.Components = Components
Me.Component = Component
End Sub
It's still possible that this causes my issue though but I don't know how to make sure...
