4
$\begingroup$

For troubleshooting purposes, I want to temporarily disable all addons, and then re-enable them after running some tests. Any easy way to do this other than manually?

$\endgroup$

2 Answers 2

6
$\begingroup$

addon_utils

Blender has a module it uses for addon management called addon_utils, this isn't in the API docs and is only for internal usage. But its a fairly straightforward module.

Disable all addons

Will call unregister on all registered addons.

from addon_utils import disable_all
disable_all()

Reset all addons

from addon_utils import reset_all
reset_all()

both two liners can be run from text editor, or python console.

$\endgroup$
1
$\begingroup$

This worked for me.

blender --factory-startup
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .