Maya Settings

From bernie's
Jump to navigation Jump to search

Default renderview

setAttr "defaultRenderGlobals.outFormatControl" 0;
setAttr "defaultRenderGlobals.animation" 1;
setAttr "defaultRenderGlobals.putFrameBeforeExt" 1;
setAttr "defaultRenderGlobals.extensionPadding" 4;


whereIs: Select mel file of given command

//source that at launch
global proc whereIs(string $cmd){
    $path = `whatIs $cmd`;
    if($path != "Unknown"){
        $path = substituteAllString($path,"Mel procedure found in: ","");
        $path = substituteAllString($path,"/","\\");
        $path = "explorer /select,\""+$path+"\"";
        system($path);
    }else{
        warning($cmd+": unknown command");
    }
}