Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   newbie quest. (https://simplymaya.com/forum/showthread.php?t=23530)

20-10-2006 09:50 AM

newbie quest.
 
what exactly is a mel script and how do i use them???

any answer would help unless of course its completly off topic...

NeoStrider 20-10-2006 03:48 PM

read the maya documentation and help files. cause ya know... they help ;)

but basically mel scripts can do anything from turning a complex task into a simple button to push to adding another ability to maya that you might need but it didn't have already.

23-10-2006 11:41 AM

help files... :headbang: never thought of that

i will do so thanx

vic39 01-11-2006 06:07 PM

newbie (to this site and to maya) here as well.

this is what I know (anyone feel free to correct me where necessary):

Maya Embeded Language (MEL) is a scripting language created by Maya that does everything you see visually when you open Maya. For example creating primitives, translating, rotating can all be done through scripts. The language is very much like
a mix between javascript, C/C++, and Perl.

Most things, if not all, can and I believe are actually done through scripts, in the background. So clicking an icon or selecting something from the menu actually just kicks off a script or scriptable command(s).

Look in your install directory in my case
D:\installed\Alias\Maya7.0\scripts - check out a file called
FileMenu.mel - that is what sets the file menu you see in Maya. Warning - don't change the file though.

Once you know how to script in it - I don't yet but learning - you can create menu items with windows in Maya as well as of course actually executing Maya commands for your scenes.

Other applications similar to Maya (3D Studio Max, Lightwave, etc.) have their own scripted language.


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

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