Houdini 20.5 hapi

hapi.getParmIdFromName function

All parameter APIs require a HAPI_ParmId but if you know the

Usage

getParmIdFromName(session: hapi.Session, node_id: int, parm_name: str) → int

All parameter APIs require a HAPI_ParmId but if you know the parameter you wish to operate on by name than you can use this function to get its HAPI_ParmId If the parameter with the given name is not found the parameter id returned will be -1.

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 parm name.

Returns parm_id as a int.

hapi