I cant change par.render via Export chop or via chop reference.
The render on/off toggle works and direct python access
def onValueChange(channel, sampleIndex, val, prev):
op(‘render1’).par.render=val
return
also works
touchdesigner 2020.26630
Win10
Yes it works…big surprise for me.
I thought it would be simple to repro the bug…but its not.
Tried to find a way to reduce my network AND having the bug show up.
So its a little strange but it shows the bug…hopefully26630_test_render_par_via_export_and_reference.2.toe (5.2 KB)
yup I see that bug here as well. As soon as you set the switch index to 1, both Render TOPs stop updating.
Only way to recover is to disable/enable both Render TOPs.
Ok…good that you can see it also.
In my environment its easier to use Python to directly write the Parameter. That seems to work always.
There might be lots of other scenarios where this Problem hits you…e.g. if you use custom Parameters to Switch rendering on and off…thats currently the Case in my network