global proc toggleGridKL() { //this toggle the grid grid -toggle (! `grid -q -toggle`); } global proc setUnitsOBJ() { //set the linear units of measure to meters currentUnit -linear "m"; //adjust the grid to the proper settings grid -size 20m -sp 1 -d 1 -dpl 1 -plp "axis"; //adjust the clipping planes of all cameras string $camList[] = `ls -ca`; for ($item in $camList) { setAttr ($item + ".farClipPlane") 1000000; setAttr ($item + ".nearClipPlane") .01; } print ("Camera clipping planes reset.\n"); } global proc setClipKL() { //adjust the clipping planes of all cameras string $camList[] = `ls -ca`; for ($item in $camList) { setAttr ($item + ".farClipPlane") 1000000; setAttr ($item + ".nearClipPlane") .01; } print ("Camera clipping planes reset.\n"); }