Copy link to clipboard
Copied
I have a custom assets folder that includes all the typical things (alphas, templates, materials, colorluts, etc). Is there a way to distribute this to people without them having to manually add the library path in the settings?
I could've sworn I've done this before successfully by placing the asset folder in a folder called "shelves" at the one of the SUBSTANCE_PAINTER_PLUGINS_PATH locations, but that doesn't seem to work anymore.
I also have a startup script if it's possible to load it through python, I just don't see anything in the API that mentions it.
Copy link to clipboard
Copied
Here is the solution I found:
import substance_painter.resource as spr
spr.Shelves.add(
'my_custom_shelf',
'/path/to/my/shelf'
)