Houdini 20.0 hapi

hapi.getAttributeNames function

Get list of attribute names by attribute owner. Note that the

Usage

getAttributeNames(session: hapi.Session, node_id: int, part_id: int, owner: hapi.attributeOwner, count: int) → list of int

Get list of attribute names by attribute owner. Note that the name string handles are only valid until the next time this function is called.

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.

part_id

The part id.

owner

The hapi.attributeOwner enum value specifying the owner of the attribute.

count

Sanity check count. Must be equal to the appropriate attribute owner type count in hapi.PartInfo.

Returns attribute_names_array as a list of int.

hapi