Houdini 20.5 hapi

hapi.setWorkItemIntAttribute function

Adds integer data to a pending PDG work item attribute for the given node.

Usage

setWorkItemIntAttribute(session: hapi.Session, node_id: int, work_item_id: int, attribute_name: str, values_array: list of int, length: int) → bool

Adds integer data to a pending PDG work item attribute 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.

work_item_id

The id of the pending work item returned by hapi.createWorkItem

attribute_name

null-terminated name of the work item attribute

values_array

array of integer values

length

number of values to copy from values_array to the parameter

hapi