Houdini 20.0 hapi

hapi.setWorkitemIntData function

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

Usage

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

Adds integer 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 data member

values_array

array of integer values

length

number of values to copy from values_array to the parameter

hapi