Usage ¶
getParmWithTag(session
: hapi.Session, node_id
: int
, tag_name
: str
) → int
Get the first parm with a specific, ideally unique, tag on it. This is particularly useful for getting the ogl parameters on a material 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.
tag_name
The tag name to look for.
Returns parm_id as a int
.