Jump to content

selectedNodes are yellow, but what is the "pink" state? (python)


ikoon

Recommended Posts

Please, if you select node(s) and then click anywhere in the empty area of Network Editor, nodes are deselected, and last selected node gets pink outline. Can I get this pink node's path in the Python? The pink node is not listed in the selectedNodes() but it is still the actual node in the Parameters pane.

selected.PNG

Link to comment
Share on other sites

Thank you very very much Alexey! Tons of future errors are wiped out :)
Btw I have two Network Editors and this works nicely:

parm_pane = hou.ui.curDesktop().paneTabOfType(hou.paneTabType.Parm)
node = parm_pane.currentNode()

 

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...