Asset Gallery Python API

   2544   3   1
User Avatar
Member
25 posts
Joined: 12月 2015
オフライン
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: 1月 2012
オフライン
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: 12月 2015
オフライン
Thank you tas3d! This helps a lot
User Avatar
Member
101 posts
Joined: 8月 2019
オフライン
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