SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Instructions on Installing MEL Scripts and Plugins
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 22-11-2002, 02:48 PM   #1
tariqrf
Subscriber
 
tariqrf's Avatar
 
Join Date: Jul 2002
Posts: 1,253
Thanks: 0
Thanked 11 Times in 11 Posts
Default Instructions on Installing MEL Scripts and Plugins

a lot of people keep emailing me on this topic, if you are a newbie, this would help you, its a copy and paste so that i did have to type all this,

Decompress the archive

You may encounter script errors when you decompress file archives using a different OS than the one you run Maya on. If you would like to run a script under Maya for Windows, Linux, Irix or OSX always decompress the archive on the respective OS.



Install scripts and plug-ins

The zip archives may contain several types of files:

MEL (Maya embedded language) files are Maya scripts.

XPM files are icons for use in Maya's shelves (32*32 pixel) or images that appear within the user interface as button or illustration.

MLL files are Maya plug-ins, that add new commands and nodes.

TXT files provide additional information.



To install a script download the ZIP archive and decompress it.

Copy all MEL files to your scripts folder (ie "c:\Documents and Settings\your user name\My Documents\maya\4.0\scripts").

Copy all XPM files to the icon folder (ie "c:\Documents and Settings\your user name\My Documents\maya\4.0\prefs\icons").

Copy all MLL files to the plug-ins folder (ie c:\aw\maya4.5\bin\plug-ins).

The path examples given have to be altered for the respective operating system and language.

Plug-ins must be loaded in Maya using the Plug-in Manager (Windows -> Settings/Preferences -> Plug-In Manager). If you enable the "auto load" checkbox, the plug-in will be loaded automatically each time you start Maya.



To add a script to a shelf open the script editor and type the script name (ie connectPolyShape). Note that MEL commands are spelled case sensitive. Therefore you must make sure files are still spelled properly after unzipping the archive. Next mark the name of the MEL script and drag it with the middle mouse button to your shelf. A default MEL icon will appear. To change this icon open the shelf editor 'Options -> Customize UI -> Shelves', choose the 'Shelf Contents' tab and select the shelf item you just added, in this example 'connectPolyShape'. Click on the 'Change Image' button and browse to the folder where you copied the XPM file(s). Select the 'connectPolyShape.xpm' icon.
__________________
:banana: :mingun: :yipee: :mingun: :bgreen: :mingun: :argue:
tariqrf is offline   Reply With Quote
Old 22-11-2002, 03:02 PM   #2
Kevin
 
Posts: n/a
Default

thats very nice of you mate! good job!!

many will apreciate this
  Reply With Quote
Old 22-11-2002, 03:13 PM   #3
tariqrf
Subscriber
 
tariqrf's Avatar
 
Join Date: Jul 2002
Posts: 1,253
Thanks: 0
Thanked 11 Times in 11 Posts
Default

Quote:
Originally posted by Kevin
thats very nice of you mate! good job!!

many will apreciate this
what else do i do here?
__________________
:banana: :mingun: :yipee: :mingun: :bgreen: :mingun: :argue:
tariqrf is offline   Reply With Quote
Old 23-11-2002, 03:01 PM   #4
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

I was having some trouble installing the "bonus game" plug-in from Alias|Wavefront and could not figure out what I was doing wrong. I figured I had placed some of the files in the wrong place or something. Come to find out, everything was installed correctly. The reason I couldn't ever get to the menu was because "Bonus Game" appears in the dynamics menu - not the modeling menu. *slaps forehead* I wasted so many hours in the directory of my computer. So, to all you newbies out there: don't be stupid like me.
__________________
www.Darkware3D.com
Darkware is offline   Reply With Quote
Old 23-11-2002, 06:17 PM   #5
tariqrf
Subscriber
 
tariqrf's Avatar
 
Join Date: Jul 2002
Posts: 1,253
Thanks: 0
Thanked 11 Times in 11 Posts
Default

keep tips comin' along... i assure you, it will help a lot of people!!
__________________
:banana: :mingun: :yipee: :mingun: :bgreen: :mingun: :argue:
tariqrf 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

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.