Usage ¶
getOutputNodeId(session
: hapi.Session, node_id
: int
, output
: int
) → int
Gets the node id of an output node in a SOP network.
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 id of a SOP node with at least one output node. The total number of node outputs can be found from the node’s hapi.NodeInfo.outputCount
output
The output index. Should be between 0 and the node’s hapi.NodeInfo.outputCount - 1.
Returns output_node_id as a int
.