Hey everybody,
so i used this approach to manage the state of my UIs for a project.
A simple base with a custom parameter that i can change from everywhere and when the value is changed the chopexecute assigns the name of the new UI.
But the problem is that sometimes the select doesn’t get updated although the state value is updated. Thas why my question is what is the most reliable way to have the op listening to an execution of a state change in 100%.Like forcing it. And what is wrong or flawed about my approach. Also if somebody has some reference to tutorials or reading how to create a bulletproof state management would be amazing.
Hi,
Please drop a project file with this network, I can have a look.
That being said, have you tried parameterExecuteDAT?
Check out https://alltd.org/?s=custom+ui for tutorials by the community
Example.tox (806 Bytes)
I mean it is just example patch so
they question then is why would the parameter execute work better than the chop execute
It’s a little more stable approach for your purpose. Because using chops to keep track of states will work in most cases, but it can get unreliable during frame drops. @function.store goes deep into this topic in his tutorial series.
If you can skip the Float slider, you could also create a Menu parameter, and then write a python expression in the select1 COMP to evaluate the selection.
1 Like