I'm just trying to get my addon panel to show up into the 3D view port, but I can't figure out the correct 'bl_' combination to make it work.


Setting bl_space_type = 'VIEW_3D' will place your panel within the 3dview. You then set bl_region_type = 'TOOLS' to have it show in the tools region while the less intuitive bl_region_type = 'UI' places it in the properties region.

If you want to place a panel in the properties editor, you would set bl_space_type = 'PROPERTIES' and bl_region_type = 'WINDOW', then you set bl_context to match the context you want it shown in - Object, Scene, World, Modifier...

Also remember that you need to register your panel class -

def register():
  • $\begingroup$ thanks for your reply. I look for add it into the scene 3D. i try also with a popup dialog and it works well but it disappeared when i click in other point of the Blender interface. $\endgroup$
    – Zer2017
    Mar 31 '17 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.