Usage ¶
getAvailableAssetCount(session
: hapi.Session, library_id
: int
) → int
Get the number of assets contained in an asset library. You should call hapi.loadAssetLibraryFromFile prior to get a library_id.
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.
library_id
Returned by hapi.loadAssetLibraryFromFile.
Returns asset_count as a int
.