Houdini 20.5 hapi

hapi.setCurveCounts function

Set the number of vertices for each curve in the part.

Usage

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

Set the number of vertices for each curve in the 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

Currently unused. Input asset geos are assumed to have only one part.

counts_array

The number of cvs each curve contains.

start

The index of the first curve.

length

The number of curves' counts to set.

hapi