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

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...