Houdini 20.5 hapi

hapi.getCurveOrders function

Retrieve the orders for each curve in the part if the

Usage

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

Retrieve 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

The part id.

start

The index of the first curve.

length

The number of curves' orders to retrieve.

Returns orders_array as a list of int.

hapi