Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

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 21-02-2006, 04:29 PM   #1
vasvaas
Registered User
 
vasvaas's Avatar
 
Join Date: Apr 2005
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
Default MEL help.

how can i make the scripts short and make my own code. like:
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -tx 1 -ch 1;
and i wanna change that to sphere
__________________
Yo mamma!
vasvaas is offline   Reply With Quote
Old 21-02-2006, 05:26 PM   #2
blomkaal
Subscriber
 
blomkaal's Avatar
 
Join Date: May 2004
Location: Denmark
Posts: 816
Thanks: 0
Thanked 4 Times in 4 Posts
Default

One way to do it is to open the Script Editor and paste/write your code into it and then select it (not sure if that's nessecary) and go to File -> Save Selected to Shelf... That way you save the script to a shelf icon that you get to name... Only problem is that this takes up a lot of shelf space if you have many small scripts...

If not I guess you could open up a text editor such as Notepad and write you code in that and save it as a .mel file and then run that from Maya... Not sure how to exactly do it this way though
__________________
Liter is French for 'Gimme some ****ing cola before I break vous ****ing lips!"
blomkaal is offline   Reply With Quote
Old 22-02-2006, 04:34 AM   #3
vasvaas
Registered User
 
vasvaas's Avatar
 
Join Date: Apr 2005
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks Blomkaal, second step was very good.
__________________
Yo mamma!
vasvaas is offline   Reply With Quote
Reply


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-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.