Houdini 20.5 hapi

hapi.getAssetLibraryFilePath function

Gets the HAPI_StringHandle for the file path of a loaded asset

Usage

getAssetLibraryFilePath(session: hapi.Session, asset_library_id: int) → int

Gets the HAPI_StringHandle for the file path of a loaded asset library.

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.

asset_library_id

The HAPI_AssetLibraryId of the asset library.

Returns file_path_sh as a int.

hapi