I’m curious if it’s possible to have multiple startup locations for Blender to look at when launching?
I’m using a package manager to set up a pipeline and so I will have different startup scripts in multiple locations based on which packages are currently being used so I need a way of pointing blender to both these directories.
I’ve seen that there are a few env vars that can be used but it seems like when I add multiple paths in there they scripts aren’t being picked up?
What is the best method for pointing Blender to multiple script locations to be run at startup?
It’s not a one push button thing, but Application Templates are specially designed for that.
It will let you have different settings, addons, startup files, shortcuts, UI, etc, in each template, that you can choose anytime.
And with some work, you can create a whole new software with it!
It’s the same as when you start blender and it offers the option for ‘General’, ‘2D Animation’, ‘Sculpting’, ‘VFX’ and ‘Video Editing’, and you can create your owns.
I don’t think either of these solve my issue. (unless I’m misunderstanding)
I have two separate folders that I want Blender to look at and read from.
I’ve tried using BLENDER_SYSTEM_SCRIPTS and appending paths here but when I do add multiple paths to this env var none of the scripts run.
The system I’m setting up relies on different packages having separate folders so ultimately I’d want Blender to be able to look at each folder and run them.
Just found that there is a way to setup multiple startup locations by creating multiple “Script Directories”.
They will basically act as Blender Foundation\Blender\4.3\scripts folder - allowing it’s own “addons”, “modules”, “presets” and “startup”.
So creating subfolder “startup” and putting a script will work.
Note that it seems to be limited regarding script names - if script with the same name present in different startup location, then it will be executed just once - not once for each it’s location.