So i run into this issue and can’t wrap my head around it. Is probably not a bug but logic i don’t really understand.
See attached example project to demonstrate the behaviour.
There is a ScriptChop that should only cooks when the input changes. In this cook it should run a Extention function from the parent called Test Function
def onCook(scriptOp):
scriptOp.copy(scriptOp.inputs[0])
parent().TestFunction()
return
This function is simple. Print the value of parent parameter called Float:
def TestFunction(self):
print(parent().par.Float)
This all works fine and as expected.
But when i change the value
Ext_Cook.toe (4.9 KB)
of the Float parameter my ScriptChop starts to Cook. Why?