Houdini 20.5 hapi

hapi.setCurveOrders function

Set the orders for each curve in the part if the

Usage

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

Set the orders for each curve in the part if the curve has varying order.

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.

orders_array

The orders of each curve.

start

The index of the first curve.

length

The number of curves' orders to retrieve.

hapi