Add-ons loading order

When Blender starts, all active add-ons are loaded sequentially, one after the other. Which add-on will be loaded first is determined by its order in the “bpy.context.preferences.addons” list.

This list is stored in the user preferences file “userpref.blend”, which is stored in the system user’s directory:

We can see the list of active add-ons by walking through the list of “bpy.context.preferences.addons”:

Add-ons are loaded when Blender starts in the order of this list.

Each time an add-on is activated, the pointer to it is moved to the end of the list.

This can be easily verified by deactivating – reactivating the add-on, for example the “Node Wrangler”, which in the example above placed in the third from the bottom in the list.

Ate now once again print the list of add-ons:

As we can see, the “Node Wrangler” add-on is last in the list now.

If the user saves the settings by pressing the “Save Preferences” button (or automatically, if the checkbox is active in the settings) now, this add-on will be loaded last on all next Blender starts.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Inline Feedbacks
View all comments