Including MEL Scripts in Maya

Including mel scripts in mayaThis tutorial will introduce you about MEL Scripts in Maya projects. Maya has proper scripting language in MEL. Here we shall learn about Maya MEL basic commands. The MEL (Maya Embedded Language) provides you vast area to perform any project in Maya freely. Any project that is created or task that is performed in Maya, the MEL scripting language shows it in the right corner of Maya. It is the MEL that guides the artists to get the desired task using proper commands. MEL script is placed next to the preference command. If you want to learn MEL Script yourself, then Maya Documentation is the best choice for this purpose. Let’s perform a new project to show MEL scripting. Go to polygonal primitives and choose polygonal pipe there. Place it on plane with pivot in centre. Bring the primitive in freeze position and then go to script editor. The script editor has two segments status panel and Python panel. You will see the primitive script in status panel. Copy the script from there and paste it to script editor. In this way you will see that another duplicate pipe will automatically created in the workspace. You can break the script by using flag among them. Delete the original pipe and change the values in channel box which turn the pipe in to cube shape. Rotate the object and then see the script. Press insert key to adjust the pivot point to the centre. There is now different scripts in your scene combine them into group and see that how beautifully you have created scene with MEL script method. Although it is very tough method to do but still it is important too to become expert in Maya.
https://www.youtube.com/watch?v=UUkS2IwU19s