Jump to content

update corresponding parameters tab


JJ FX

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

Link to comment
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....

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...