Houdini 20.5 hapi

hapi.setWorkitemStringData function

Adds integer data to a pending PDG workitem data member for the given node.

Usage

setWorkitemStringData(session: hapi.Session, node_id: int, workitem_id: int, data_name: str, data_index: int, value: str) → bool

Adds integer data to a pending PDG workitem data member for the given node.

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 created workitem returned by hapi.createWorkitem

data_name

null-terminated name of the data member

data_index

index of the string data member

value

null-terminated string to copy to the workitem data member

hapi