I am using python drivers to set the position of a number of bones, using a script to register custom functions in the driver namespace, so that I can reference them in the expressions (bpy.app.driver_namespace['calcPosition'] = calcPosition). that works fine, but as soon as I reload the file, it does not work anymore. yes, I made sure to reload trusted, and I re-ran the script (do I have to do that?), but it simply won't work until I re-enter each and every expression and hit enter.

is this expected behavior?

is there a way to make things just work, right after opening a file?

• Related Feb 12, 2017 at 13:43