Could someone show me simple script where I could understand how those types of panels are made. I am not a programmer and without a concrete full made script it’s hard for me to understand how to actually get access that panel. But if there is something simple, I’ve found addon tamplate that is ridiculously complicated for me.
Basically I would like to see how would one make a button in “N” panel to add a box.
In text editor, go Template → Python → Ui Panel .
This is a code for creating a Panel with some buttons in Properties/Scene window
Assuming that you want it in “N” Panel in 3D View, at the beginning replace thoses lines :
Yes that is exactly what I am looking for, but for blender 2.8. Have no use for blender 2.79 to be honest. And that template in blender 2.8 makes menu here: