Houdini 20.0 hapi

hapi.getInstancerPartTransforms function

Get the instancer part’s list of transforms on which to

Usage

getInstancerPartTransforms(session: hapi.Session, node_id: int, part_id: int, rst_order: hapi.rstOrder, start: int, length: int) → list of hapi.Transform

Get the instancer part’s list of transforms on which to instance the instanced parts you got from hapi.getInstancedPartIds.

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 instancer part id.

rst_order

The order of application of translation, rotation and scale.

start

Should be less than part_id's hapi.PartInfo.instanceCount but more than or equal to 0.

length

Should be less than part_id's hapi.PartInfo.instanceCount - start.

Returns transforms_array as a list of hapi.Transform.

hapi