Houdini 20.0 hapi

hapi.getInstancedObjectIds function

Get the node ids for the objects being instanced by an

Usage

getInstancedObjectIds(session: hapi.Session, object_node_id: int, start: int, length: int) → list of int

Get the node ids for the objects being instanced by an Instance OBJ node.

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.

object_node_id

The object node id.

start

At least 0 and at most object_count returned by hapi.composeObjectList.

length

Given object_count returned by hapi.composeObjectList length should be at least 0 and at most object_count - start.

Returns instanced_node_id_array as a list of int.

hapi