I'd like to hide and unhide several objects at once. In particular, I'd like to toggle the eye icon on and off. The monitor icon works fine, but the eye icon doesn't work.
import bpy obj_list = ["Cone","Cube","Cylinder","Sphere"] objects = bpy.data.objects for obj_name in obj_list: if objects[obj_name].hide_set: objects[obj_name].hide_set(False) else: objects[obj_name].hide_set(True)
Q: How can I control the visibility of e.g.