Houdini 20.5 hapi

hapi.getGroupNames function

Get group names for an entire geo. Please note that this

Usage

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

Get group names for an entire geo. Please note that this function is NOT per-part, but it is per-geo. The companion function hapi.getGroupMembership IS per-part. Also 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.

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