Template:Maya script editor

From TOI-Pedia

Maya is a very broad software application with numerous possibilities and applications. Nevertheless it's flexibility is one of the key features: there are several options to tailor the program to your own needs and demands and to add new functionality yourself. One of the key components to do that is the Maya scripting language, MEL. MEL stands for Maya Embedded Language. In fact the entire interface of Maya as you know it is written in MEL. Everything you do and see in the interface corresponds with one or more MEL commands.

Below the ChannelBox you see a white line and a gray line. On the right to the gray line there is one button, here you find the script editor (also; you can open the Script Editor through Windows » General Editors » Script Editor. This interface is used to enter commands and scripts, but the history panel also provides feedback. On the left the chosen script language can be changed. If you want to execute a MEL script, make sure it says MEL on the left.

Maya Interface scripteditor.png

If the Script Editor is opened, you'll see a window similar to the image below. The window is divided in two parts: The top part is the history, the bottom part is where you can type. Here you can also choose between scripting in MEL or in Python. The history probably already contains some output. You'll notice that most actions in Maya result in output in the history panel. It shows the commands that are being executed and the results of those commands. In this image you can see part of the commands used to make the objects.


Interface scripteditor002.jpg

Personal tools
Actions
Navigation
Tools