Houdini 20.5 hapi

hapi.getGroupCountOnPackedInstancePart function

Get group counts for a specific packed instanced part.

Usage

getGroupCountOnPackedInstancePart(session: hapi.Session, node_id: int, part_id: int) → (int, int)

Get group counts for a specific packed instanced part.

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)

Returns a tuple of (pointGroupCount, primitiveGroupCount).

hapi