Houdini 20.5 hapi

hapi.setWorkitemFloatData function

Adds float data to a pending PDG workitem data member for the given node.

Usage

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

Adds float data to a pending PDG workitem data member for the given 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.

workitem_id

The id of the pending workitem returned by hapi.createWorkitem

data_name

null-terminated name of the workitem data member

values_array

array of float values

length

number of values to copy from values_array to the parameter

hapi