Hi all, I have some questions about the variable hierarchy between two product models.
This is what I am doing:
- Create a parent product model A with variables X and Y. Those two variables are going to go to a child model and then returns to the parent, so in the nodes tree I create a code node that shows the variable value, then a BOM node that calls to a sub-model (when the variable value will be inherited, changed and then returned to the parent) and in the end another code node where I show the actual variable value (I expected the changed values here).
- Create a child product model B with same variables X and Y, same type, same name, and I check this ones with the "Inherits" option. This should take the variable value from the parent model on runtime, and this is working fine. In adiction I check the "Return value" option in those two variables for the value be returned to the parent model (I supose, when the execution of the child finished ¿?).
What I expected to this test to work is: Variables go parent->child, child changes the variables values and returns them to the parent. That is, parent model shows initial value, runs the child model and when it shows the actual values after the child execution the values should be changed, but they are not.
Don't know if I are explaining my problem quite well ...
( sorry for my bad english i hope it will be almost understandable ;) )