VB.Net iLogic Rule Stopped Working

VB.Net iLogic Rule Stopped Working

danmorick
Enthusiast Enthusiast
999 Views
2 Replies
Message 1 of 3

VB.Net iLogic Rule Stopped Working

danmorick
Enthusiast
Enthusiast

I have a rule in iLogic that I was testing as "Straight VB.Net" on various assemblies.  It was working alright, but I was making some minor tweaks to eliminate errors.  Now, all of a sudden, it is unresponsive.  Completely.  No errors, no "busy" symbol over my pointer, just nothing.  I put in the line MsgBox("Begin") as the first line of the program to see if it was even getting into it, and still there is no response.  I run the rule, and absolutely nothing happens.  I tried writing it in iLogic instead, and that does make something happen.  Can anyone tell me what might cause the VB.Net element of iLogic to stop working, and hopefully how to correct the problem as well?  Thanks.

0 Likes
1,000 Views
2 Replies
Replies (2)
Message 2 of 3

adam.nagy
Autodesk Support
Autodesk Support

Hi,

 

Can you reproduce it with even a small sample document with a minimal sample iLogic code in a rule that you could post here?

 

Cheers,



Adam Nagy
Autodesk Platform Services
0 Likes
Message 3 of 3

danmorick
Enthusiast
Enthusiast

Here's a simple example part with a simple rule in it.  As far as I can tell, the rule should work as "straight vb", but it doesn't:

Sub Main()
MsgBox("hi")
End Sub

As far as the original rule that prompted my post, I rewrote it in iLogic format, and it now works fine.  But I'd like to have the option to write rules as VB.Net, and it just seems that maybe I'm missing some software element required to have that capability.  At one time it was working, and now it isn't.

 

If it runs as straight vb on your end, then I'd say that is the case, but I don't know what I'd have to install to fix it.

0 Likes