i got this little code snippet
but i cannot see the panel in the properties window
class PanelThree(bpy.types.Panel):
bl_idname = "VIEW3D_PT_SelectionQuery"
bl_label = "Selection Query"
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = "object"
# bl_category ="Camera Set"
bl_show_header=True
can someone tell me what is wrong with this panel beginning
it should appear in the object properties but it is not and no error on console
thanks
happy bl
Hey Ricky,
It’s not enough to draw a panel
Have a look in blender at Scripting (layout) > Templates > Python > UI Simple panel
you will find this which is working well 
import bpy
class HelloWorldPanel(bpy.types.Panel):
"""Creates a Panel in the Object properties window"""
bl_label = "Hello World Panel"
bl_idname = "OBJECT_PT_hello"
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = "object"
def draw(self, context):
layout = self.layout
obj = context.object
row = layout.row()
row.label(text="Hello world!", icon='WORLD_DATA')
row = layout.row()
row.label(text="Active object is: " + obj.name)
row = layout.row()
row.prop(obj, "name")
row = layout.row()
row.operator("mesh.primitive_cube_add")
def register():
bpy.utils.register_class(HelloWorldPanel)
def unregister():
bpy.utils.unregister_class(HelloWorldPanel)
if __name__ == "__main__":
register()
got page on 2.9 api
with some examples but don’t know how to make it work
and bad description for the different terms for panel
trying to make the mix panels example and not doing much ?
got the examples from template
but trying to make my own and understand how it works
and that easy LOL
thanks
happy bl