Usage ¶
setParmNodeValue(session
: hapi.Session, node_id
: int
, parm_name
: str
, value
: int
) → bool
Set a node id parm value of an Op Path parameter. For example, This is how you connect the geometry output of an asset to the geometry input of another asset - whether the input is a parameter or a node input (the top of the node). Node inputs get converted top parameters in HAPI.
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.
parm_name
The name of the parameter.
value
The node id of the node being connected. Pass -1 to disconnect.