Usage ¶
getNodePath(session
: hapi.Session, node_id
: int
, relative_to_node_id
: int
) → int
Get the node absolute path in the Houdini node network or a relative path any other node.
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.
relative_to_node_id
Set this to -1 to get the absolute path of the node_id. Otherwise, the path will be relative to this node id.
Returns path as a int
.