Usage ¶
getPDGGraphContextId(session
: hapi.Session, top_node_id
: int
) → int
Get the PDG graph context for the specified TOP 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.
top_node_id
The id of the TOP node to query its graph context.
Returns context_id as a int
.