Houdini 20.0 hapi

hapi.getParmChoiceLists function

Fill an array of hapi.ParmChoiceInfo structs with parameter

Usage

getParmChoiceLists(session: hapi.Session, node_id: int, start: int, length: int) → list of hapi.ParmChoiceInfo

Fill an array of hapi.ParmChoiceInfo structs with parameter choice list information from the asset instance 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.

start

First index of range. Must be at least 0 and at most hapi.NodeInfo.parmChoiceCount - 1.

length

Must be at least 1 and at most hapi.NodeInfo.parmChoiceCount - start.

Returns parm_choices_array as a list of hapi.ParmChoiceInfo.

hapi