Houdini 20.5 hapi

hapi.setVertexList function

Set array containing the vertex-point associations where the

Usage

setVertexList(session: hapi.Session, node_id: int, part_id: int, vertex_list_array: list of int, start: int, length: int) → bool

Set array containing the vertex-point associations where the ith element in the array is the point index the ith vertex associates with.

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 SOP node id.

part_id

Currently not used. Just pass 0.

vertex_list_array

An integer array at least the size of length.

start

First index of range. Must be at least 0 and at most hapi.PartInfo.vertexCount - 1.

length

Must be at least 0 and at most hapi.PartInfo.vertexCount - start.

hapi