Houdini 20.5 hapi

hapi.getPresetNames function

Gets the names of presets in an IDX file

Usage

getPresetNames(session: hapi.Session, buffer: str, buffer_length: int, count: int) → list of int

Gets the names of presets in an IDX file

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.

buffer

Buffer to hold the preset data.

buffer_length

Size of the buffer.

count

Number of presets in the file. Should be the same as the count returned by hapi.getPresetCount

Returns preset_names_array as a list of int.

hapi