Smart way to save preferences if you're using the live development environment

Dumb question, for those that use the live development environment, and are constantly checking out, and reestablishing symlinks, etc., is there a clever way to save, and re-establish your preferences?

Nigelzoomer

Comments

  • I thought about that too.
    Not as much customization on my side so far, but I always forget that my settings are lost each time.

  • edited February 14

    I think here:

    which is the userpref.blend file.
    Those are with startup.blend in config directory (/.config/blender/5.0/config in Linux)
    Cheers!

    theoryshaw
  • I swear i tried this already, but will again. Thanks @falken10vdl!

  • @theoryshaw said:
    I swear i tried this already, but will again. Thanks @falken10vdl!

    Same here ..... :)

    On Mac it is (also) here :
    /Users/username/Library/Application Support/Blender/5.2/config/userpref.blend

    It seems to somehow work for Photographer AddOn - without manually saving Blender Settings.
    (I thought Blender will automatically save its Settings ? Manually in case Blender crashes only ?)
    But it seems to use an extra Folder for Presets and Preferences ?

  • edited March 3

    I think live reloading addons reverts all preferences to default. I would create a piggyback script with an application timer that runs something like 1 second after the addon is reloaded to manually setup the values eg (pseudocode) bpy.data.preferences["bonsai"].pdf_command = "c:/My/path.exe"

  • Sprinkled a little AI on it...
    https://hub.openingdesign.com/OpeningDesign/Utility_Apps/src/branch/main/Blender/simple scripts/Bonsai Preferences Script

    Add generic Bonsai preferences startup script
    Adds bonsai_prefs.py — a Blender startup script that applies personal
    Bonsai addon settings on every launch via a load_post handler, keeping
    machine-specific config out of the IfcOpenShell repo.
    
    All user settings are in a single CONFIGURE block at the top of the file.
    Handles Blender extension-style addon keys (bl_ext.user_default.bonsai),
    ghost addon entries with None preferences, and the register() requirement
    introduced in Blender 4.2+.
    
    Generated with the assistance of an AI coding tool.
    
    
Sign In or Register to comment.