Houdini Parameter UI
Links
-
Driving Parameters using Dictionary Attributes
Usingattribfromparmnode to obtain node parameters, changing them and passing to another node using spare input
Tips
Callbacks
Callback script for a button (or else)
Where pydef is another UI parameter of type String/Python
And kwargs['node'] refers the node itself (equal to node = hou.pwd()).
exec(kwargs['node'].parm('pydef').eval())
Then in the pydef code block do not forget to start with referring the node to get its parameters.
node = hou.pwd()
node.parm('paramname').eval()
node.parm('paramname').set(1)
Param fileds
Disable/hide when params syntax:
{ param == 0 }
Multiparam block
The params get the # symbol in the end, that is a placeholder for the item's number in the list
If the parameter's size is bigger than one, it gets two indexes #_#