Maya : hos_rampColorShift.mel

Here’s another small function that i missed from my experience with Lightwave, it’s a script that allows you to shift the Hue, Saturation and Values of all color keys on the selected ramp node. It has it’s own interface and i had to rewrite the RGB to HSV and the HSV to RGB code as…

Maya : Create Reference multifunctional hotkey

Here’s a small replacement for the default <CTRL> + <r> Create Reference command hot-key that adds some extra functionality. This little function is actually quite simple, but allows one hot-key to do two things. First, if nothing or a non referenced node is selected, the hot-key will simply function as Create Reference always did. However,…

Maya progressBar and interrupting a script loop

This seems to be a function that is forgotten by many MEL programmers but can save you a lot of headaches. It is one of those things you might want to implement anywhere in a script you know will do some heavy looping that could take a lot of processing time. Just add this to…