cycles visibility for multiple objects Is there any way to change the ray visibility of multiple objects (say from selected)? 

I have been trying to say make 150 objects invisible for diffuse - do i have to go by hand?

or is there way to write

bpy.context.object.cycles_visibility.* = True/False


but not to object?
Paste this into text editor and run it for your selection:

import bpy
for obj in bpy.context.selected_objects:
     obj.cycles_visibility.diffuse = False