SimplyMaya Forums

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

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 21-02-2006, 03: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, 04: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, 03: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
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.