I'm confused about how to declare a panel.
I've tried to write a simple panel but it doesn't work:
class TestPanel(bpy.types.Panel):
bl_idname = "object.test"
bl_label = "test"
bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
bl_context = 'sculptmode'
bl_category = "test"
def draw (self, context):
layout = self.layout
I would like which values can be used in bl_context