This is less of a question but more of an observation since I have not seen a discussion of the sort on these forums yet. I’ve been playing around with Hops and trying to document all of its behaviours, one of which is whether a GH file nested within several levels of Hops can be updated and have its changes propagate through each level to the top.
What I’ve found is that changes to a file will be propagated automatically, but the cache of results with the original file blocks calculations with the changed file from happening. I’ve attached my experiment below, but the gist of it is that I have two numbers and a file nested two levels deep that defines the operand between the numbers: If I change the operand, only the inputs that have not been calculated return the correct value.
The least tedious way to get around this is to uncheck the two “Cache In <>” options for all of your Hops components before any calculation is done. If you do want to use the cache then you will need to manually open each file in the stack that uses your changed file and reset the Hops components in them (by double-clicking on it and selecting OK on the Choose Path window). I was hoping that I could just do a single “Clear cache” in GH settings at the top level but that did not seem to work.
If anyone has their own workaround for this please let me know!
main.gh (11.7 KB)
operation.gh (7.0 KB)
suboperation.gh (4.5 KB)