|On this page|
The Subnet Connector node represents the input or an output (or both) of the parent subnet in which it resides. When this node is created, the parent network automatically creates an input (or output) connector that corresponds to the node. The Subnet Connector node references the data incoming (or outgoing) on a wire connected to the subnetwork.
This is an alternative wokflow tool to creating inputs by wiring the subnet input first and then referencing it in Subnet Inputs VOP. Or creating an output by wiring an input to the Subnet Outputs VOP. The two workflows should not be mixed, although Houdini tries to handle gracefully any arising conflicts.
Using Subnet Connector for inputs is equivalent of using Parameter VOP with Scope set to Subnet Connector, although the Parameter VOP also creates parameter UI on the parent subnetwork. This workflow of creating subnetwork inputs is more efficient for authoring digital asset subnetworks, where adding, editing, and removing asset inputs and outputs can be performed right in the network, without the need to jump to Operator Type Properties editor.
The RMB menu on any VOP node has an item Create Subnet Outputs that creates Subnet Connector nodes and configures them to represent subnet outputs.
Specifies whether the node represents a subnet input, a subnet output, or both.
This connector node represents a subnet input.
This connector node represents a subnet output.
Input and Output
This connector node represents a subnet input and output.
The name of the subnet input (or output).
The label of the subnet input (or output).
Specifies the VEX data type of the subnet connector.
Depending on the connector type selected, it represents the default value of the connector in the VEX code.
Use This Node to Set Parameter Attributes
When several Subnet Connector VOPs have the same Name, only one of the nodes is used to control the attributes of the parameter. Houdini decides which node to use for this by searching all the nodes according to the user defined order, then traversing inside subnets. If none of them have this parameter turned on, the first one found is used to set the parameter attributes. If one or more do have this option turned on, the first one with this option is used, even if another node (with this option turned off) is found first.
The value assigned to the subnet output.
The value of the subnet input.