Houdini 20.5 Python scripting hou hou.qt

hou.qt.ParmChooserButton 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

parmSelected(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 parms and hooking it to a callback function that is invoked when a node is selected from the chooser dialog:

def onSelected(parm_path):
    print("Selected parm:", parm_path)

node_chooser_btn = hou.qt.ParmChooserButton()
node_chooser_btn.parmSelected.connect(onSelected)

hou.qt