Skip to main content

Smooth moves

Common knowledge has it that 'all Maya is MEL', but just how do you actually make use of the software's built-in scripting language? You can do it the 'right' way and learn how to code, create functions and all that jazz. However, even if you aren't a hardcore programmer, there's always the option to use MEL to tackle those specific problems that you encounter from day to day in production.

In this article, we'll show you how to solve a fairly common problem: the need to toggle the models in a scene between two different levels of smoothing. Rather than select all the models by hand to switch between unsmoothed (for ease of animation) and smoothed versions (for final display), we're going to create a simple MEL script to do the job automatically.

Click here to download the tutorial
Click here to download the support files

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began over a decade ago. The current website team consists of five people: Editor Kerrie Hughes (currently on maternity leave), Acting Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, and Staff Writer Amelia Bamsey. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.