Houdini 20.5 hapi

hapi.getWorkItemFloatAttribute function

Gets float data from a work item attribute.

Usage

getWorkItemFloatAttribute(session: hapi.Session, node_id: int, work_item_id: int, attribute_name: str, length: int) → list of float

Gets float data from a work item attribute.

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

length

The length of the data_array

Returns data_array as a list of float.

hapi