Houdini 20.0 hapi

hapi.getWorkItemAttributeSize function

Gets the size of the work item attribute.

Usage

getWorkItemAttributeSize(session: hapi.Session, node_id: int, work_item_id: int, attribute_name: str) → int

Gets the size of the work item attribute. It is the length of the array of data.

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

Returns length as a int.

hapi