Houdini 20.0 hapi

hapi.getWorkItemStringAttribute function

Gets string ids from a work item attribute.

Usage

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

Gets string ids 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