Scripting language

Scripting language

Anonymous
Not applicable
744 Views
6 Replies
Message 1 of 7

Scripting language

Anonymous
Not applicable
Hi Everyone,

I was introduced to MEL and Maya on Saturday while helping a friend code his project. While we were successful in getting his script working I am worried about the editor in Maya. Where are features like syntax highlighting, code completion, introspection, etc?

I am worried that this will turn people off to programming. Already I have heard many of the students in his class have struggled with this. I will continue to help but what plans are there for this in the future. Thanks!
0 Likes
745 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
yeah, they add to the script editor each version. But I really don't care about that. My money is for cool new nodes, like a new fluids similation based on the level set and implicit geo methods that are big now. You can have maya open and run a script created in any text editor you like.....

these are the commands I use for two separate buttons on my shelf....I got the techique from Dave Gould's books......I use a default script named learning.mel....then saveAs the procedure name when it is finished and I save it out to my user script folder.

// to open my default learning.mel script and use another text editor....textpad in my case.
string $scriptsPath = `internalVar -userScriptDir`;
chdir $scriptsPath;
system( "start C:\\Program Files\\TextPad 4\\TextPad.exe learning.mel" )

// to run script......
source learning;
0 Likes
Message 3 of 7

Anonymous
Not applicable
Good to know. Is there any editors you recommend or that have plugins for Mel? I usually use Eclipse or FlashDevelop.
0 Likes
Message 4 of 7

Anonymous
Not applicable
you need to search thru the developement forums for your product to see is anyone created a setup for mel....since mel is so application specific you might have limited results....I found one for textpad so there has to be others........there is also the quick help.....highlite the command in scripteditor and right click for a pop up window of it's flags.....
0 Likes
Message 5 of 7

Cory_XD
Autodesk
Autodesk
Crimson (http://www.crimsoneditor.com/ ) ships "MEL aware" - just open a MEL file and it will highlight appropriately.
Cory "Mr. Entertainment" Mogk
http://area.autodesk.com/blogs/cory
0 Likes
Message 6 of 7

Anonymous
Not applicable
Can you also recommend and editor for max os x?
0 Likes
Message 7 of 7

Cory_XD
Autodesk
Autodesk
BBEdit is the main one I hear about. I searched BBEdit MEL and found a few candidates.
Cory "Mr. Entertainment" Mogk
http://area.autodesk.com/blogs/cory
0 Likes