3
$\begingroup$

After compiling Blender as a Python module I realized that userpref.blend does not exist in ~/.config/blender/2.79/config. I want to use a userpref.blend file that I have on my desktop computer (when using Blender with the GUI). So I wonder how can one manually set the path to userpref.blend file using Blender's Python API?

$\endgroup$
0
$\begingroup$

Setting the environmental variable BLENDER_USER_CONFIG would do the job. So Blender assumes the path to the userpref.blend file would be BLENDER_USER_CONFIG/userpref.blend

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.