Houdini 20.0 hapi

hapi.getNodeOutputName function

Get the name of an node’s output. This function will return

Usage

getNodeOutputName(session: hapi.Session, node_id: int, output_idx: int) → int

Get the name of an node’s output. This function will return a string handle for the name which will be valid (persist) until the next call to this function.

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.

output_idx

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

Returns name as a int.

hapi