I am trying to use python to script to change the settings of the Network Render addon. I am attempting to change the tags in the slave that way I don't have to change my blend every time. I am using a python script to enable CUDA but I can't figure out how to properly reference the settings for addons. Any help would be appreciated.
Here is my slave.bat
blender -P script.py -b slave.blend --addons netrender -a -noaudio -nojoystick
Here is the script.py
import bpy bpy.context.user_preferences.system.compute_device_type = 'CUDA'