Houdini 20.5 hapi

hapi.getParmFloatValues function

Fill an array of parameter float values. This is more efficient

Usage

getParmFloatValues(session: hapi.Session, node_id: int, start: int, length: int) → list of float

Fill an array of parameter float values. This is more efficient than calling hapi.getParmFloatValue individually for each parameter value.

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.parmFloatValueCount - 1.

length

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

Returns values_array as a list of float.

hapi