Usage ¶
getParmStringValue(session
: hapi.Session, node_id
: int
, parm_name
: str
, index
: int
, evaluate
: bool
) → int
Get single parm string value by name.
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.
index
Index within the parameter’s values tuple.
evaluate
Whether or not to evaluate the string expression. For example, the string “$F” would evaluate to the current frame number. So, passing in evaluate = False would give you back the string “$F” and passing in evaluate = True would give you back “1” (assuming the current frame is 1).
Returns value as a int
.