iLogic Rule Computation Error

iLogic Rule Computation Error

DanCintron
Observer Observer
298 Views
3 Replies
Message 1 of 4

iLogic Rule Computation Error

DanCintron
Observer
Observer

I have an iLogic Rule Computation error in an assembly with sub-assemblies.  I cannot publicly post it here, but would be glad to share it privately.  PLEASE help.

0 Likes
299 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

Hi @DanCintron.  Can you at least attempt to describe what the code is doing, and maybe where within that process you believe that the error is happening?  Have you attempted any type of debugging, such as injecting Logger.Info() type lines in various places with information in them about where that line of code is, and what's going on at that point, then checking within the iLogic Log window after the code has ran to see what the entries say, or what the last entry was?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

DanCintron
Observer
Observer

Hi @WCrihfield,

 

Thank you for your response and suggestions.  I appreciate your input.  I haven't attempted detailed debugging yet.  While I have extensive Inventor experience, I'm relatively new to iLogic.  Your guidance would be very much appreciated.

 

Thanks,

Dan

0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor

Hi @DanCintron 

Can you post the rule or a portion of the rule where you think the error happens? If not you can start with the basic debugging assuming  you get the rule to run at all.

 

Insert a line like below at the start of the rule, if you see the message in the logger window then your rule runs successfully to this point. Next keep moving it down each line of code untill you get the error message and no message in the logger. 

Logger.Info("You are here")

 Post to this thread the more info tab of the error message. This is the second tab. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes