Display Rule Name

Anonymous

Display Rule Name

Anonymous
Not applicable

Is it possible to write a macro (or similar) in inventor VBA that will display the name of each rule as it is fired off? I am trying to debug a few dozen rules and i'm not sure which ones are being triggered when a certain change is made.

0 Likes
Reply
Accepted solutions (1)
381 Views
2 Replies
Replies (2)

CadUser46
Collaborator
Collaborator

Nick

 

Edit: I just realised your probably talking about iLogic rules.  I hate trying to debug them.

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
0 Likes

Curtis_Waguespack
Consultant
Consultant
Accepted solution

Hi Nick.Steele.205,

 

This is what I use:

http://adndevblog.typepad.com/manufacturing/2014/08/debug-ilogic.html

 

I just use a line like this at the top of each rule that contains the rule name.

 

 

Trace.WriteLine("REORDER BOM", "iLogic") 'debug 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com