hou.ParmTuple.setAutoscope method
Changes the autoscope property of a parameter in the tuple. If this property is True, then a parameter in the tuple is automatically scoped when the object is selected.
setAutoscope(self, bool_values)
This function accepts a tuple of boolean values i.e., True and False. If a tuple value is True, then the parameter in the tuple at the same index is automatically scoped. Otherwise, automatic scoping is turned off. For example, the parameter tuple for “translation” contains Parm objects for translation along each of the axes, “tx”, “ty” and “tz”. If setAutoscope is called with the following tuple of boolean values, (True, True, False), then the parameter “tx” and “ty” will be automatically scoped, while “tz” will not.
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: chautoscope
