samboosa Posted May 8, 2013 Share Posted May 8, 2013 Hello! I'm trying to make a good Digital asset interface and I was wondering if there was a way to make a button which toggles the visibility of certain nodes within the asset... Is this possible? I don't object to using python but I'm not that familiar with it... Please let me know - Samboosa. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted May 8, 2013 Share Posted May 8, 2013 A cleaner way would be to use a switch node. If that won't work in this case check out the Python documentation. http://www.sidefx.com/docs/houdini12.5/hom/hou/SopNode#setDisplayFlag Quote Link to comment Share on other sites More sharing options...
samboosa Posted May 9, 2013 Author Share Posted May 9, 2013 Hmm as you put it, using a switch might be cleaner... My goal would be to have a geo node, and to have some sort of way of toggeling the visibility of specific nodes within that from the upper parameter interface. I'll see what I can do Quote Link to comment Share on other sites More sharing options...
cosku Posted May 10, 2013 Share Posted May 10, 2013 I also solved this in the past using a switch node. Basically you need to switch between "objectA", "objectB", and "a merge-node that merges objectA &objectB". Add more merges and switches for more complicated visibilities. Quote Link to comment Share on other sites More sharing options...
sanostol Posted May 12, 2013 Share Posted May 12, 2013 or to keep it simple, add a switch to every node You want to display, and add a null to every switch as first input, then connect all switches to a merge and promote all switch sliders to Your asset as a toggle parameter, now You can just turn on all the nodes You want without complicated logic on a single switch 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.