iLogic - derived parameter out of sync

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm driving changes in a sub-assembly from a top-level assembly by changing parameter values in a base component .I use an iLogic rule in my top-level assembly to write to the parameter values in the base component, which then sets of a ripple effect of rules firing in sub-levels.
One of the parameters in my base component is called "ratio".
I have a sub-assembly that derives this parameter and uses it in an iLogic rule to determine what component to replace. But the parameter value is not updating before replacing the component. I've used this technique countless times without a problem in different rules and I'm stumped as to why its not working for this one.
As a test, I used a message box to show the value of "ratio" at the end of my top level rule (which is always correct) and another message box to show the value of "ratio" in my sub-assembly rule before the replacing occurs (which is always different to the value I'm shown in the top level).
I need to then manually run the rule in the sub-assembly after all the other rules have executed, which by that point is then using the updated value.
I don't understand how this can be possible? My 1st messagebox confirms the value has changed, and as the parameter is derived in the sub-assembly it should be the same?