Asset Gallery Python API

   1956   3   1
User Avatar
Member
25 posts
Joined: Dec. 2015
Offline
Hi,
I'd like to automate changes to the Solaris Asset Gallery, but I'm finding the API limiting.

https://www.sidefx.com/docs/houdini/hom/hou/qt/AssetGallery.html [www.sidefx.com]

You can add assets and change their name, path, and thumbnail, but there seems to be no way to query which assets already exist in the gallery or a way to change their tags or which ones are starred.
Are these features there and I just haven't found the or should this be a feature request?
User Avatar
Member
120 posts
Joined: Jan. 2012
Offline
there are few more methods available through this module

C:\Program Files\Side Effects Software\Houdini 19.0.464\houdini\python3.7libs\husd\assetutils.py
Michal Tas Maciejewski @ www.vfxtricks.com
User Avatar
Member
25 posts
Joined: Dec. 2015
Offline
Thank you tas3d! This helps a lot
User Avatar
Member
88 posts
Joined: Aug. 2019
Offline
i believe the asset library is using a simple sqlite database so worst case you could just directly get your information from there
  • Quick Links