Houdini 20.5 hapi

hapi.getWorkitemDataLength function

Gets the length of the workitem data member.

Usage

getWorkitemDataLength(session: hapi.Session, node_id: int, workitem_id: int, data_name: str) → int

Gets the length of the workitem data member. 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.

workitem_id

The id of the workitem

data_name

null-terminated name of the data member

Returns length as a int.

hapi