What I am needing to do is that when I open blender it toggles the add-on. The add-on that I am using is the Virtual Reality ViewPoint. What I want is for that addon to activate right when I open Blender.How is this possible?
-
Somewhat related http://blender.stackexchange.com/a/1689/15543 – batFINGER Jul 21 '16 at 20:15
-
Which one? Please provide a link to the addon. – p2or Jul 21 '16 at 20:55
-
1https://github.com/dfelinto/virtual_reality_viewport – Alexander Pagan Jul 21 '16 at 21:02
-
Sounds more like a bug. Make sure you saved your user prefs. Otherwise might be better reporting this behavior as issue on github. – p2or Jul 21 '16 at 21:09
2 Answers
If you launch blender from the command line, you can designate a startup .py file which could either be the addon itself or trigger the loading of the addon.
Sample cli command:
blender --background --python startup_script.py
Depending on your OS, there are different ways to make the command line call clickable as an executable app for convenience.
- 9,421
- 25
- 50
I haven't tested this with the addon you mention but two things that may help.
Enable the addon, adjust the options and Save User Settings. This will keep the addon enabled every time you start blender.
Setup the viewport, then File->Save Startup File. The startup file defines the scene contents and screen layouts when blender is started. This might allow the addons viewport settings to be set the way you want when starting blender.
If the startup file doesn't keep the addons viewport settings then you could use a python script to set the options the way you want and save it into the startup file so it can be run on startup.