Houdini 20.5 hapi

hapi.setPartInfo function

Set the main part info struct (::HAPI_PartInfo).

Usage

setPartInfo(session: hapi.Session, node_id: int, part_id: int, part_info: hapi.PartInfo) → bool

Set the main part info struct (::HAPI_PartInfo).

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.

part_info

hapi.PartInfo value that describes the input geometry.

hapi