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 ...

Get MEL Scripting for Maya Animators, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.