Houdini 20.5 Python scripting hou hou.qt

hou.qt.ParmTupleChooserButton class

A button with the Houdini look and feel that opens the Houdini node chooser dialog when clicked.

On this page

This class inherits from Qt’s QtWidgets.QToolButton class.

Signals

parmTupleSelected(str)

This signal is emitted when a selection is made in the node chooser dialog.

Methods

Examples

This example demonstrates creating a chooser button for parm tuples and hooking it to a callback function that is invoked when a parameter is selected from the chooser dialog:

def onSelected(parmtuple_path):
    print("Selected parm tuple:", parmtuple_path)

node_chooser_btn = hou.qt.ParmTupleChooserButton()
node_chooser_btn.parmTupleSelected.connect(onSelected)

hou.qt