Houdini 20.0 hapi

hapi.disconnectNodeOutputsAt function

Disconnect all of the node’s output connections at the output index.

Usage

disconnectNodeOutputsAt(session: hapi.Session, node_id: int, output_index: int) → bool

Disconnect all of the node’s output connections at the output index.

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

node_id

The node whom’s outputs to disconnect.

output_index

The output index. Should be between 0 and the to_node’s hapi.NodeInfo.outputCount.

hapi