Hi, I’m following ‘THP 494/589 | A little about Modules, Locals, and Storage’ by Matthew Ragan and in this part I’m getting a different result when using a component variable to drive the value of a Constant CHOP.
In the video referencing a variable seems to be enough to make the Constant cook whenever the variable changes, while in my case the Constant cooks only once, getting stuck at the value the variable had the moment the reference was made. The workaround I found was using an Execute to force the Constant to cook with cook(force=True), but I’m wondering if this is a reasonable solution.
In any case this is just for the sake of experimenting, I suspect this may be a deprecated technique considering the tutorial is a bit dated.
Here’s my test project Variables_and_Constant_CHOP_values.toe (4.8 KB)