Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Importing Mel Scritps (https://simplymaya.com/forum/showthread.php?t=27660)

diggersworld 01-10-2007 01:43 AM

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?

01-10-2007 02:31 AM

Here:
http://lightstorm3d.com/tutorials/ht...l_scripts.html
:beer:

jsprogg 01-10-2007 02:35 AM

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.

diggersworld 01-10-2007 07:47 AM

cool, cheers for the help guys, much appreciated.


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018