Jump to content
JJ FX

update corresponding parameters tab

Recommended Posts

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() ?

Share this post


Link to post
Share on other sites

Hi! .setSelected() should work?

Share this post


Link to post
Share on other sites
11 minutes ago, ikoon said:

Hi! .setSelected() should work?

Does the same as .setCurrent()

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I think you need to use setCurrentNode() on the network editor

Share this post


Link to post
Share on other sites
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....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×