Houdini 20.5 hapi

hapi.disconnectNodeInput function

Disconnect a node input.

Usage

disconnectNodeInput(session: hapi.Session, node_id: int, input_index: int) → bool

Disconnect a node input.

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 input to disconnect.

input_index

The input index. Should be between 0 and the to_node’s hapi.NodeInfo.inputCount - 1.

hapi