Delete unused materials

Open Hypershade & delete unused nodes HypershadeWindow; pause -sec 5; hyperShadePanelMenuCommand(“hyperShadePanel1”, “deleteUnusedNodes”); pause -sec 5; select -clear;

Reporting Missing Textures

I often have to move large Maya scenes around from one system or network to a completely different one, and it inevitably causes paths to break. (Using Maya projects isn’t an option in these cases[…]

Selecting by Type

Despite the name, the ‘select’ command is NOT your main command here! The easiest way to select objects by type in MEL is through the ‘ls’ command. It doesn’t actually select anything, but it lists[…]