is there a way I can fold and unfold a catalog from the Asset Browser with Python?
I’d like to write a script where opening one catalog, immediately closes all the others. The reason is that opening multiple catalogs with subcategories quickly overwhelms the panel. And I want to avoid scrolling too much and spare unnecessary mouse clicks by having to close them one by one (as we don’t have the feature of closing them with a swipe as in other parts of Blender’s UI). Ideally I think there should be an Autofold checkbox option somewhere.
I think that’s not exposed to the API (yet). There has been some improvements with latest beta and alpha versions regarding the asset browser but I didn’t see something regarding catalogs. The close/open by swiping would be awesome though, that looks like an oversight on the devs’ part - or a limitation of the UI list which I hope not
Hmmm thanks for confirming what I suspected.
I think that even if we have the swiping option, I think the Autofold would be even better. At work I have to use 3dsmax and for libraries we use Project Manager and it’s a very convenient feature. Keeps things nice and tidy.
I agree with you. I think one explanation is that the devs focused on launching the asset shelf which is an extension of the asset browser targeted for animators and (I guess, since the Blender Studio and Blender Institue are officially independant teams) a wish of the Blender Studio when working on their latest film projects.
Since the beginning the asset browser system is not well suited for huge libraries, there has been great improvements in the last few versions but we still miss a few QOL features which I’m sure will come in time.
In my opinion, the Asset Browser works fine for huge libraries. I’m happy with the catalog system.
But if we’re talking about pet peeves here, it’s this one that’s driving me mad, but it didn’t get any recognition when I posted it. People seem to be okay with it.