opninputs expression function

Returns the maximum number of connected inputs.

Replaced by: hou.Node

See also: opinput, opoutput, opnoutputs

Usage

opninputs(name)

Returns the number of the highest connected input. This is not the number of connected inputs. If a node has four inputs and the fourth input is connected, opninputs will return 4. If the first and third inputs are connected, opninputs will return 3.