Macha Posted April 27, 2012 Share Posted April 27, 2012 Does anybody know how to do button callback scripts so that I can press multiple buttons? I have a string parameter where I enter the nodes that I want to be checked for buttons. I want to iterate over that with a callback script but I can't work out a way to get multiline Python expressions to work in the parameter interface. Any ideas? Quote Link to comment Share on other sites More sharing options...
kubabuk Posted April 28, 2012 Share Posted April 28, 2012 (edited) I'm not sure if I follow, but the answer for the muli-line expression is to call either a function stored in hdaModule or separate lines with semicolons. btw. we should catch up at some point in Vancouver Edited April 28, 2012 by kubabuk 1 Quote Link to comment Share on other sites More sharing options...
Macha Posted April 28, 2012 Author Share Posted April 28, 2012 Hey Kuba, thanks, I tried the hdaModule trick and it worked, I think. I put a script in type properties and call it when the button is pressed. It then loops over all the relevant other buttons and presses them too. It looks like it's working. Oh, and I think there's another Vancouver Houdini user group meeting in the making if I'm not mistaken. 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.