Houdini 20.5 hapi

hapi.setWorkItemStringAttribute function

Adds integer data to a pending PDG work item attribute for the given node.

Usage

setWorkItemStringAttribute(session: hapi.Session, node_id: int, work_item_id: int, attribute_name: str, data_index: int, value: str) → bool

Adds integer data to a pending PDG work item attribute 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.

work_item_id

The id of the created work item returned by hapi.createWorkItem

attribute_name

null-terminated name of the work item attribute

data_index

index of the string data member

value

null-terminated string to copy to the work item data member

hapi