Home Reference Houdini Object Model hou hou.ParmTuple 

hou.ParmTuple.set method

Sets the value of a parameter in the tuple at the current frame.

set(self, float_values) OR set(self, string_values)

This function accepts a tuple of floats or a tuple of strings. The value of a pparameter in the tuple is set to the float or string value at the corresponding index. For example, the parameter tuple for “translation” contains Parm objects for translation along each of the axes, “tx”, “ty” and “tz”. If set is called with following tuple of floats, (2.5, 4.0, 5.5), then the parameter “tx” with be set to 2.5, “ty” will be set to 4.0 and “tz” will be set to 5.5.

This function throws a hou.ObjectWasDeleted exception if called on a node that no longer exists in Houdini, a hou.InvalidSize exception if the size of the tuple 'bool_values' does not match the size of the parameter tuple, and a hou.PermissionError if any of the parameters in the tuple are locked and non-editable.

Replaces: opparm