I put some drivers in a scene with scripted expressions. The python scripts are disabled by default on startup so I have enabled that in preferences (Auto Execution: Auto Run Python Scripts) and hit “Save User Settings”.
When I run the command line script my programmer made to do a specific job, blender opens and it is as if the python scripts are disabled.
The driver I set to scale an object, just scales it to zero.
To narrow it down a little. The update dependencies button on the driver does nothing. Until I go into preferences and uncheck / recheck the python scripts box, then click on one of the drivers’ update dependences button.
Then it works.
I followed the link to here:
http://www.blender.org/documentation/blender_python_api_2_70_release/bpy.types.UserPreferencesSystem.html#bpy.types.UserPreferencesSystem.use_scripts_auto_execute
So this may help:
“use_scripts_auto_execute”
I need to improve the command line script to open Blender and run the driver scripted expressions.
I need advice to help figure this out. I know Blender but my programmer does not.