{ string $sSel[] = `ls -sl`; string $sItem; for($sItem in $sSel) { if(objExists($sItem + ".ambientColorR")) { setAttr($sItem + ".ambientColorR") 0; setAttr($sItem + ".ambientColorG") 0; setAttr($sItem + ".ambientColorB") 0; } if(objExists($sItem + ".translucence")) { setAttr($sItem + ".translucence") 0; } } }