Is this behaviour normal?

Is this behaviour normal?

AlexFielder
Advisor Advisor
459 Views
1 Reply
Message 1 of 2

Is this behaviour normal?

AlexFielder
Advisor
Advisor

A colleague asked me to try and figure out what the last changed parameter might be, so I put together this file inside of Inventor 2019.2 &/or 2019.1.2

Steps to reproduce:

  1. Open attached part file
  2. Change value of "renamed" parameter (all except Thickness have accompanying rules!)

What should happen is one messagebox appears with the name of the parameter you just changed.

 

The behaviour that does display is odd to say the least. Unless I've misunderstood how the "s = parameter" mechanic is supposed to work?

 

Thanks,

 

Alex.

0 Likes
460 Views
1 Reply
Reply (1)
Message 2 of 2

CattabianiI
Collaborator
Collaborator

What should happen is one messagebox appears with the name of the parameter you just changed.

No, that happen if you replace LastChangedParam = p.Name with Parameter.Param("LastChangedParam").Value = p.Name.
iLogic fires the rule containg a blue parameter that has changed his value.

Enable tracing to better understand this behaviour.

 

Anyway I tried to understand the logic behind the execution of the rules in your case but I don't really get how iLogic store the rules that have been triggered. The order in the browser matters, but it's not a stack...

 

0 Likes