Houdini 20.0 hapi

hapi.getAssetLibraryIds function

Gets the HAPI_AssetLibraryId for HDAs that are loaded in Houdini.

Usage

getAssetLibraryIds(session: hapi.Session, start: int, length: int) → list of int

Gets the HAPI_AssetLibraryId for HDAs that are loaded in Houdini.

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.

start

First index from the list of HAPI_AssetLibraryId to return. Must be at least 0 and at most count - 1 where count is the value returned by hapi.getLoadedAssetLibraryCount.

length

The number of HAPI_AssetLibraryId to return. Must be at least 0 and at most count - start where count is the value returned by hapi.getLoadedAssetLibraryCount.

Returns asset_library_ids_array as a list of int.

hapi