Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Python Scripting - Create a Popup Dialog Box

0

Darkfall writes:

In this video, we will be creating a basic popup dialog box that when pressed will give the user the ability to name the cube and set the scale before adding the object.

We will be using the String, Float (and eventually) the Float Vector Properties. We could take this further and add other Properties such as; Integers, Booleans, Enumerators and more. We can take a look at some of the other Properties in future videos.

I thought it would be a good idea to implement the dialog box into the Object Adder Add-on (Some of you may already be familiar with it, download link can be found in our blog). Now we know how to create a Dialog box, we can create more. We could create one for each of the other buttons in very much the same way.

I hope you find this video helpful and as always, thanks for reading!

About the Author

Avatar image for John Brook
John Brook

I make Youtube tutorials for blender Users. From CG and VFX to Animations, Shorts and Asset Creation. I upload tutorials once a week along with any assets we create for you to use in your own projects.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×