Houdini 20.5 hapi

hapi.getGroupNamesOnPackedInstancePart function

Get the group names for a packed instance part

Usage

getGroupNamesOnPackedInstancePart(session: hapi.Session, node_id: int, part_id: int, group_type: hapi.groupType, group_count: int) → list of int

Get the group names for a packed instance part This functions allows you to get the group name for a specific packed primitive part. Keep in mind 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. (should be a packed primitive)

group_type

The group type.

group_count

Sanity check. Should be less than or equal to the size of group_names.

Returns group_names_array as a list of int.

hapi