Houdini 20.0 hapi

hapi.getWorkitemFloatData function

Gets float data from a work item member.

Usage

getWorkitemFloatData(session: hapi.Session, node_id: int, workitem_id: int, data_name: str, length: int) → list of float

Gets float data from a work item member.

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.

workitem_id

The id of the workitem

data_name

null-terminated name of the data member

length

The length of the data_array

Returns data_array as a list of float.

hapi