0
$\begingroup$

Sorry if this has been asked before but I certainly couldn't find what I was looking for!

I just want to be able to locate or create a file that clearly shows me which native Blender Addons I have "activated" and what 3rd-Party Addons I have installed.

Ideally I want a text file so that when i install a NEW version of Blender I can reinstall (or re-activate) the Addons that I like and need!

Regards and thanks in advance

Ivan Flack Cookstown, N. Ireland

$\endgroup$
4
  • $\begingroup$ blender.stackexchange.com/questions/2797/… any good? - Note that installing a new version of Blender will pick up the settings from a previous version automatically including activated addons. (This assumes that you haven't deleted the settings from the previous version of course!) $\endgroup$
    – John Eason
    Jul 15, 2023 at 10:55
  • $\begingroup$ Thanks John...I looked at that but am none the wiser...can't seem to get it to work at all! $\endgroup$
    – Ivan Flack
    Jul 15, 2023 at 11:01
  • $\begingroup$ Its' possible that the python code needs to be changed for more recent Blender versions since that posting was last updated 10 years ago but I'm afraid I don't know Blender's API so can't help with that one. $\endgroup$
    – John Eason
    Jul 15, 2023 at 11:07
  • $\begingroup$ There's a more up to date posting here: blender.stackexchange.com/questions/166371/… $\endgroup$
    – John Eason
    Jul 15, 2023 at 11:15

1 Answer 1

1
$\begingroup$

This is taken from the posting I mentioned in the comments above:

Click the Scripting workspace in the top toolbar then click the New button in the R/H text editor window and copy and paste the code below into the window.

import addon_utils
import bpy
enablist = [addon.module for addon in bpy.context.preferences.addons]
for addon in addon_utils.modules():
    if addon.__name__ in enablist:
        print ('{name} {ver} {mod}'.format(
            mod = addon.__name__,
            name = addon.bl_info['name'],
            ver = ''.join([str(v) + '.' for v in addon.bl_info['version']]).rstrip('.'))) if 'version' in addon.bl_info else None

If you click the right-facing Run Script triangular icon in the window header you can then Use Blender's Window > Toggle System Console menu to see the active addons in the console window.

$\endgroup$
3
  • $\begingroup$ Many thanks once again John...I'll give it a go when I am next on the PC! $\endgroup$
    – Ivan Flack
    Jul 15, 2023 at 12:48
  • $\begingroup$ Thanks again John...works just fine...now I just need to put it into Serpens and get it to print out a list! Fun, fun...fun! $\endgroup$
    – Ivan Flack
    Jul 16, 2023 at 11:04
  • $\begingroup$ Glad to hear it! As one of the other posting says there's probably no way to differentiate between built-in and external addons but at least you have a list of enabled ones now! Please check the option beside my answer to flag it as correct. Thanks. $\endgroup$
    – John Eason
    Jul 16, 2023 at 11:34

You must log in to answer this question.

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