connect parameters in HDA

   1030   2   0
User Avatar
Member
9 posts
Joined: Dec. 2018
Offline
Hello,

I'm trying to connect two toggle parameters in an HDA, meaning that when you check one the other gets unchecked and vice versa. Does anyone know how to do it?
User Avatar
Member
131 posts
Joined: Aug. 2012
Online
This documentation page [www.sidefx.com] demonstrates using Python states to process onParmChangeEvent. You can use this to determine when your toggle parameter is changed, getting its value, and setting the other value (although you may have to handle this carefully to prevent infinite recursion.)
User Avatar
Member
47 posts
Joined: April 2016
Offline
jegupi
Hello,

I'm trying to connect two toggle parameters in an HDA, meaning that when you check one the other gets unchecked and vice versa. Does anyone know how to do it?

Hi,
Copy Parameter -> Past Relative Reference, then RMB on parameter (if this is a toggle), -> Expression -> Edit Expression, and type '!' sign in front of the expression.
  • Quick Links