When is a script node cooked? I have this little script
cols = hou.evalParm(“../rack/cols”) #117
box_x = hou.evalParm(“../mirror-box/sizex”) #0.05
base_average = 117*0.05 #5.85
cur_average = cols*box_x
newvalue = base_average/cur_average
newbox_x = newvalue*box_x
newcols = newvalue*cols
hou.parm(“../mirror-box/sizex”).set(newbox_x)
hou.parm(“../rack/cols”).set(newcols)
lie under my sphere.
But it seems as if it's only cooked once. After getting a new value in one parameter the other changed fine, but than the other goes back to it's old value. And even stranger, until now every change to the sphere isn't displayed by the script node.
Help please!