SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Why Should you learn MEL . . .
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 01-03-2006, 10:02 AM   #1
skywola
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 . . .

Why?

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, 21 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, 10:12 AM   #2
magicsy
Subscriber
 
magicsy's Avatar
 
Join Date: Oct 2005
Location: Leeds
Posts: 1,154
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.