Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 22-11-2002 , 03:48 PM
tariqrf's Avatar
Subscriber
Join Date: Jul 2002
Posts: 1,253

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 thisuser added image,

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.

# 2 22-11-2002 , 04:02 PM
Kevin
Guest
Posts: n/a
thats very nice of you mate! good job!!

many will apreciate this

# 3 22-11-2002 , 04:13 PM
tariqrf's Avatar
Subscriber
Join Date: Jul 2002
Posts: 1,253

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

many will apreciate this

what else do i do here? user added image

# 4 23-11-2002 , 04:01 PM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172
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.

# 5 23-11-2002 , 07:17 PM
tariqrf's Avatar
Subscriber
Join Date: Jul 2002
Posts: 1,253
keep tips comin' along... i assure you, it will help a lot of people!!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads