Cool script, but I tried it last night and it's fine with maya's renderer, but when I source the script it seems to disable Mental Ray? What's up wit that! I can't for the life of me find any reason why this should be happening, I mean all this script is doing is turning the viewport into the render window minus the window itself! Anybody else had the same problem?