![]() |
tyOperator setEnabled/getEnabled on instanced operators - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html) +--- Thread: tyOperator setEnabled/getEnabled on instanced operators (/thread-4732.html) |
tyOperator setEnabled/getEnabled on instanced operators - Martijn van Herk - 03-20-2025 Looks like these two functions don't work when the operator is instanced across multiple events. The command will enable/disable one of the instances, but not necessarily the one you call it on. I'm doing this by using $[4][#event][#operator].setEnabled, maybe that's not the way? This is using v1.120 RE: tyOperator setEnabled/getEnabled on instanced operators - tyFlow - 03-21-2025 I'm not sure I understand the issue - can you post a simple file with the exact script you're using to enable/disable the operators? Keep in mind that if an operator is instanced, it shares parameter blocks with its other instances...but its own enabled/disable state is unique/independent. |