JJ FX Posted February 5, 2018 Share Posted February 5, 2018 (edited) Hi, So I need to somehow "bind" two buttons together, but only one direction relation. When I press A, the B need to run too. I was hoping "pase relative references" would do (the button is a 0 - 1 state, so why not), but unfortunately not. Do I need to use somekind of callbacks for that? Any example would be most owesome. Edited February 5, 2018 by JJ FX Quote Link to comment Share on other sites More sharing options...
JJ FX Posted February 5, 2018 Author Share Posted February 5, 2018 (edited) So I've found this: hou.parm('myNodeA/myButtonA').pressButton() And this has to probably go to button B (A -> B ) into callback script, right? What if I already have there something in callback script in button B... ? Edited February 5, 2018 by JJ FX Quote Link to comment Share on other sites More sharing options...
acey195 Posted February 6, 2018 Share Posted February 6, 2018 you can also do a right click copy parameter, paste relative parameter references, but this does not work with buttons directly, instead paste them on a dummy node on the same hierarchy level, and then copy the resulting hexpression. right click on the button, go to edit parameter expression and paste it there. in that way it should work too. also if you want multiple callbackscripts on one button, just add a ";" in between Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.