Usage ¶
getInstanceTransformsOnPart(session: hapi.Session, node_id: int, part_id: int, rst_order: hapi.rstOrder, start: int, length: int) → list of hapi.Transform
Fill an array of hapi.Transform structs with the transforms of each instance of this instancer object for a given 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 object node id.
part_id
The part id.
rst_order
The order of application of translation, rotation and scale.
start
First index of range. Must be at least 0 and at most hapi.PartInfo.pointCount - 1. This is the 0th part of the display geo of the instancer object node.
length
Must be at least 0 and at most
hapi.PartInfo.pointCount - start. This is the 0th
part of the display geo of the instancer object node.
Returns transforms_array as a list of hapi.Transform.