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 22-11-2002, 03: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, 04: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, 04:13 PM   #3
tariqrf
Subscriber
 
tariqrf's Avatar
 
Join Date: Jul 2002
Posts: 1,253
Thanks: 0
Thanked 11 Times in 11 Posts
Default

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, 04: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, 07: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

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.