kgoossens Posted June 11, 2011 Share Posted June 11, 2011 Hi everybody, What I want to do, is to drive a switch node inside a Digital asset with radio buttons folders. But I have no clue how to access them. Cheers Kim Quote Link to comment Share on other sites More sharing options...
zarti Posted June 11, 2011 Share Posted June 11, 2011 hi , i used it for myself lately ... so here it is : thisNode = hou.pwd() foldParm = thisNode.parm( "folder01" ) if foldParm.eval() == 0: 'switch to .. ( whatever )' elif foldParm.eval() == 1: 'switch to .. ( the other whatever )' ... else : 'switch to .. ( the last whatever )' you should check for their corresponding indices in the list of tabs ( integer number starting from 0 ) .cheers Quote Link to comment Share on other sites More sharing options...
anim Posted June 11, 2011 Share Posted June 11, 2011 http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=13139 Quote Link to comment Share on other sites More sharing options...
kgoossens Posted June 11, 2011 Author Share Posted June 11, 2011 http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=13139 Anim, Zarti thanks a lot!! I really couldn't figure it out. Adding 1 at the end of the name. Cheers 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.