Loading scripts in Maya 101

Report this File





May 23, 2009

Readership Level:



Maya Versions:

1.x, 2.x, 3.x, 4.x, 5.x, 6.x, 7.x, 8.x






Loading scripts in Maya sounds like programming and often sends artists hiding under their desks but really it is a quick easy process and opens a whole world of amazing little tools-

Highend3d and other resources are packed with amazing scripts and tools that are made by kind souls and handed out for free. Ignore your Mothers advice of not taking gifts from strangers and down-load them.

For a step-by-step example we will use Davvey's Nut and Bolt generator.

Step one:
Nuts and Bolts may not be that difficult to model but why take the time when somebody has designed a tool that pops out accurate nuts and/or bolts of any shape or description.

Go to Highend3d, Maya < downloads < Mel Scripts < Modeling < Polytools < bolt generator, and you will find the bolt generator.
Download it to your desktop or wherever you like to download things to.

Step two:
Right click on the zip file you have just down-loaded and extract it to a folder

Most scripts look something like this and generally they include a Readme file that tells you what to do, you can organise your scripts as you see fit but at it's most basic you can just bung them into your scrips folder.

Copy all the script files to your My Documents < Maya < scripts

Next copy copy the Icon file ( the XPM ) to your icons folder in your preferences, this isn't vital to make the script work, but the icons always make it look nicer.

The advantage of using the common scripts folder over the one found in each version of Maya is that you can keep all your scripts in one place and not worry about moving them when you up-grade Maya.

Done - thats it

Step 3: To run the script, start up Maya ( or restart if Maya was already running )and in the command line type in DVY_BoltandNut

The name you type in is the name of the lead script- it is usually obvious, often there is only one script file so then it is even more obvious. One thing to note- the command line is caps-sensitive so dvy_boltandnut will not work, neither will leaving out the underscore as in DVY BoltandNut.

Hit enter; ( use the second little enter on the far right of the keyboard for older Maya versions ) - voila....you can start mass producing bolts from the DVY_BoltandNut machine.

click for larger version

There are tons of amazing scripts out there for everything from modeling, rendering, rigging ; basically a score of tools for every aspect of Maya, and it is often worth taking the time to find one and see how well it works.

If you really find you using the script frequently, type the name into the command line, highlight it, and middle-mouse drag it onto a shelf, you can then replace the "mel" icon with the icon that came with the script.

One of Maya's strengths is that it is so easy to write scripts for and expand. New users of Maya often don't realize that they are not really using the same tools that Weta used to make Lord of the Rings. Maya is really just the foundation and half the Maya operators in big 3d companies are spending all there time writing scripts and plug-ins to give thier artists more tools, so don't be afraid of adding to your tool set.

Download them- try them out, if you don't like them- bin them but you will find some gems that wont know how you ever managed before you discovered them.



View Anand B S's profile
Mar 24, 2010
Post id: 10607
Report this comment to moderators [SPAM]

itzzzzzzzzzz very usefullllllllllllll

Apr 19, 2010
Post id: 10868
Report this comment to moderators [SPAM]


Nov 22, 2010
Post id: 13085
Report this comment to moderators [SPAM]

thank u very much! u are one of that kind souls...
bless your rendering!

Jan 18, 2011
Post id: 13564
Report this comment to moderators [SPAM]

thanks its helpful

View mgkishor's profile
Sep 28, 2011
Post id: 15322
Report this comment to moderators [SPAM]

can u please tell me how to load mel soft script.

Mar 14, 2013
Post id: 17652
Report this comment to moderators [SPAM]

so nice

Mar 10, 2014
Post id: 19420
Report this comment to moderators [SPAM]

thank you very much , is there a way to slow down the speed ?

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account