SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Importing Mel Scritps
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 01-10-2007, 01:43 AM   #1
diggersworld
Subscriber
 
Join Date: Aug 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Importing Mel Scritps

Hiya guys... I have just downloaded some mel scripts to make my maya experience a little easier, however I do not know where I should put the Mel files, and how I import them into Maya.

Can anyone help me out?
diggersworld is offline   Reply With Quote
Old 01-10-2007, 02:31 AM   #2
Jr.Who
 
Posts: n/a
Default

Here:
http://lightstorm3d.com/tutorials/ht...l_scripts.html
  Reply With Quote
Old 01-10-2007, 02:35 AM   #3
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,708
Thanks: 0
Thanked 85 Times in 77 Posts
Default

Hi the mel script should be put in your scripts directory , the path should be something like C:\Documents and Settings\your name\My Documents\maya\scripts

To get the script to work you will need to source the script or restart Maya.
You can execute external script files in two ways:

1 In the Script editor, select File > Source Script.
If you change a script after sourcing it, the change is not automatically picked up by Maya. You need to re-run the script with File > Source Script.

2 If the script is in one of Maya’s standard script directories. When you type the name of the file in the command line and hit enter, Maya will source the contents of the file, and if a procedure with the same name exists in the file Maya will execute it.

You will most likely need to create a shortcut to use the Mel script so type the name of the script in the command line then middle mouse drag it to the shelf and then in future to use the script just click on the shortcut.
__________________


2 x Modeling Challenge Winner
jsprogg is offline   Reply With Quote
Old 01-10-2007, 07:47 AM   #4
diggersworld
Subscriber
 
Join Date: Aug 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

cool, cheers for the help guys, much appreciated.
diggersworld 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
Importing Renders to AE Ozgalis Dynamics & Special Effects 1 08-12-2010 08:56 PM
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.