JJ FX Posted May 7, 2018 Share Posted May 7, 2018 Hi, So in my script im using hou.Node.setCurrent() for selecting nodes. But I noticed that my parameters tab does not update when I select nodes like that. How do I update the corresponding parameters tab to the selected node with .setCurrent() ? Quote Link to comment Share on other sites More sharing options...
ikoon Posted May 7, 2018 Share Posted May 7, 2018 Hi! .setSelected() should work? Quote Link to comment Share on other sites More sharing options...
JJ FX Posted May 7, 2018 Author Share Posted May 7, 2018 11 minutes ago, ikoon said: Hi! .setSelected() should work? Does the same as .setCurrent() Quote Link to comment Share on other sites More sharing options...
ikoon Posted May 7, 2018 Share Posted May 7, 2018 Now I have tried this, it should work better? node = hou.node('/obj/geo1') parm_pane = hou.ui.curDesktop().paneTabOfType(hou.paneTabType.Parm) parm_pane.setCurrentNode(node) The method setCurrentNode() is not yet documented, but arguments are here: http://www.sidefx.com/docs/houdini/hom/hou/PathBasedPaneTab.html Quote Link to comment Share on other sites More sharing options...
dchow1992 Posted May 7, 2018 Share Posted May 7, 2018 I think you need to use setCurrentNode() on the network editor Quote Link to comment Share on other sites More sharing options...
JJ FX Posted May 7, 2018 Author Share Posted May 7, 2018 12 minutes ago, ikoon said: Now I have tried this, it should work better? node = hou.node('/obj/geo1') parm_pane = hou.ui.curDesktop().paneTabOfType(hou.paneTabType.Parm) parm_pane.setCurrentNode(node) The method setCurrentNode() is not yet documented, but arguments are here: http://www.sidefx.com/docs/houdini/hom/hou/PathBasedPaneTab.html yeah this method is nice as long u use one network and one params tab. Will dive into setCurrentNode() and PathBasedPaneTab.... 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.