Maya Settings

From bernie's
Revision as of 15:37, 27 May 2015 by Bernie (talk | contribs) (Created page with "===Default renderview=== <pre> setAttr "defaultRenderGlobals.outFormatControl" 0; setAttr "defaultRenderGlobals.animation" 1; setAttr "defaultRenderGlobals.putFrameBeforeExt"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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");
    }
}