Another attribute standardization. This turns off ‘visible in reflections’ for all selected objects.
string $selGeo[] = `ls -sl`;
string $eachGeo;
for($eachGeo in $selGeo)
{
print("Object Name: " + $eachGeo + "\n");
string $visParam = $eachGeo + ".specularColor";
print("\tParameter Long Name:" + $visParam + "\n");
setAttr $visParam -type double3 0.1 0.1 0.1;
}