Hi everyone!
I have a parameter in HDA that that allows me to pick a point on a geometry with the help of the node inside that HDA but I kinda messed up the action button.
When I click on a picker to select the point it dives into my HDA even if it is locked . I want it to not dive and display the node that I need in the viewport for me to pick the right point(in this case I have a blast node)
So here is the script I have maybe someone can spot my mistake
import hou
import soputils
hda = kwargs
blast = hda.node("blast3")
net = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor)
hou.clearAllSelected()
Dive into blast4
net.setPwd(blast.parent())
blast.setCurrent(True, clear_all_selected=True)
blast.setHighlightFlag(True)
blast.setDisplayFlag(True)
net.frameSelection()
kwargs = blast
kwargs = blast.parmTuple("group")
kwargs = 0
kwargs =
soputils.selectGroupParm(kwargs)
Help needed with HDA action button
50 0 0-
- Choomba
- Member
- 3 posts
- Joined: Feb. 2019
- Offline
-
- Quick Links
