Houdini 20.5 hapi

hapi.getNumWorkItems function

Gets the number of work items that are available on the given node.

Usage

getNumWorkItems(session: hapi.Session, node_id: int) → int

Gets the number of work items that are available on the given node. Should be used with hapi.getWorkItems.

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.

Returns num as a int.

hapi