I have a suite of several addons that I grouped together in a custom tab in Blender 2.7x, assigning the bl_category to the name of my custom suit:
class Panel1(bpy.types.Panel): # Blender 2.7x bl_label = "Panel 1" bl_space_type = "VIEW_3D" bl_region_type = "TOOLS" bl_category = "MyToolSuite"
In Blender 2.80, I would like to group the tools together in a new properties tab. How can I create a custom properties tab?
The following works to put my panel inside an already-existing tab, but does not work to create a new tab to hold all my panels:
class Panel1(bpy.types.Panel): bl_label = "Panel 1" bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" # bl_context = "object" # this puts my panel in the Object tab bl_context = "MyToolSuite" # this does nothing?
What else needs to be done to create a new tab in Blender 2.80?