Blender 2.90 Tutorial, learn python scripting (for beginners)
In this video, we will be looking at adding an Enumerator and other Custom Properties onto a Panel. We will also be creating a Property Group which will contain a number of custom Properties we can define.
We will need a couple of things before we can get started. We will need a basic script that contains a Panel, operator and a registration section. You can use Blenders Templates to add a panel and operator.
If you want to follow along you can download the template script or the Finished Script from our blog: https://darkfallblender.blogspot.com/2020/08/blender-python-tutorial-how-to-add.html
Source