Houdini 20.0 hapi

hapi.setWorkItemFloatAttribute function

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

Usage

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

Adds float 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 float values

length

number of values to copy from values_array to the parameter

hapi