Houdini 20.5 hapi

hapi.getWorkItemIntAttribute function

Gets int data from a work item attribute.

Usage

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

Gets int data from a work item attribute.

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 work_item

attribute_name

null-terminated name of the work item attribute

length

The length of data_array

Returns data_array as a list of int.

hapi