Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 01-03-2006, 11:02 AM   #1
Registered User
skywola's Avatar
Join Date: Jan 2004
Location: Tempe, Arizona, USA
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why Should you learn MEL . . .

If you are interested in being better than just "good" in your knowledge of MAYA, you certainly should learn MEL . . .


Suppose for example you want to do something like set up a default lighting system, so that whenever you create a scene, you can create the default lighting system without having to repeat it every time . . .

It is easier that you might suppose . . . on the lower right, you can click on the script editor. Click on "Edit>Clear History" if there is any history listed, then minimize or move the script editor to one side and create the lights as you would like them to be for the generic lighting system that you want to use.

After you have finished the "generic lighting system", re-open the script editor and highlight the code that was generated in the history window, and put your cursor over it and hold down the right mouse button and drag it to the shelf. A new shelf function will be created and then whenever you create a new scene, you can add the lighting to it by simply pressing that shelf icon. Now that was a lot of hard work coding that wasn't it? :attn:

You can even create your own customized shelf icon in photoshop to use for whatever functions you create by going to "window>setting/preferences>shelves", select "change image" and select the icon you created.

It is good to create a generic icon, that way you can use it as a template, whenever you want to create a new icon. There is a set number of pixels it has to be, I do not recall what it is, but I am including the "default lighting" icon I created.

You can use the script editor as a means of creating all kinds of functions that will allow you to save yourself a lot of time and learn more about MEL . . .
Attached Images
File Type: bmp chdefaultlights.bmp (1.8 KB, 20 views)
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
skywola is offline   Reply With Quote
Old 01-03-2006, 11:12 AM   #2
magicsy's Avatar
Join Date: Oct 2005
Location: Leeds
Posts: 1,154
Thanks: 0
Thanked 4 Times in 4 Posts

thanks for that info mate cool.
magicsy is offline   Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
MEL headache! happymat27 Members Lounge 5 05-12-2010 09:43 AM
MEL headache!! happymat27 Mel Scripts & Programming 1 03-12-2010 04:41 PM

Thread Tools

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.