Houdini 19.0 Python scripting hou hou.qt

hou.qt.getBrush HOM function

Return a QBrush object for a specified Houdini resource color.

getBrush(color_name) QBrush

Return a QBrush object for a Houdini resource color with the specified name. Resource colors are defined in the Houdini color scheme files (look for *.hcs files in $HFS/houdini/config).

Raise hou.OperationFailed if no color with the specified resource name exists.

hou.qt