O'Reilly logo

MEL Scripting for Maya Animators, 2nd Edition by Mark R. Wilkins, Chris Kazmier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Custom Dialog Boxes

In this chapter you will learn

  • The structure of a script that will create and use a custom dialog box for input.

  • The structure of a custom dialog box window.

  • How to build a custom dialog box.

  • Some basic controls available for your custom dialog box, and how they work.

  • How to connect functions to buttons in your custom dialog box so that the functions execute when the buttons are pressed.

  • How to collect the user’s data from the controls in the dialog box.

How to Structure a Script That Uses a Custom Dialog Box for Input

In the example in Chapter 13, we saw that one benefit of creating separate procedures for the user interface and the main substance of your script is that you can choose to run the latter in batch mode. When ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required