• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Basic MEL Controls

This section shows you how to use MEL scripting to create a basic character window. How to write a MEL command in the Script Editor is described in detail, as well as where you can store and access your MEL code in Maya. You learn how to create several useful controls for your character, including buttons, sliders, and check boxes. In addition, you learn several layout commands that enable you to place your MEL controls in a variety of positions within your character window.

Getting Started with MEL

MEL scripting facilitates everything you do in Maya. Whenever you create, modify, or transform something using menu commands or tools, Maya is performing the action through MEL commands in the background. Normally you don’t see this happening, although you may occasionally notice some MEL results that Maya writes out to the Feedback field of the command line. To see what Maya is doing, you must open the Script Editor by clicking its icon in the lower-right corner of the interface, and look in the History field (see Figure 6.2).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint