Python Scripting – Enumerator / Drop Down Menu

Darkfall writes:

In this video we will be taking a look at an Enumerator also known as a drop down menu.

We will be using a template script that has a simple Panel and a blank Pop up Dialog Box Operator. If you want to download the starting script and follow along you can download it here: https://pastebin.com/JEdsTr61

Using the Enumerator we can give the user a list of options. In this example we give the User the option to choose from three different basic options. You can take this further and create more complex presets. For example, the Text Tool add on has some presets that have several lines of code to achieve the effect.

If you want to download the Text Tool Add on you can find the link in our blog here.

I hope you find this video helpful and as always thanks for Reading!.

Advertisement