Node Selection changed Signal

   684   2   2
User Avatar
Member
78 posts
Joined: 5月 2018
Offline
Is there a way to pythonically detect when the current node selection has been changed without polling the current selection repeatedly?
User Avatar
Member
78 posts
Joined: 5月 2018
Offline
After a lot of looking it doesn't seem like this is possible. It would be great if we could get this functionality added. Perhaps make it a script that gets called from the script folder, similar to OnCreated.py and such.
User Avatar
Member
191 posts
Joined: 10月 2018
Offline
Have you seen
hou.ui.selectionCallbacks()
I think they added it in 17 maybe

https://www.sidefx.com/docs/houdini/hom/hou/ui.html#addSelectionCallback [www.sidefx.com]
Edited by krueger - 2020年5月12日 14:28:14
  • Quick Links