I use a simple toggle wires script to toggle the wireframe of the objects in my viewport on/off. However, I’d like to take this a step further: to any cutters visible in the scene (regular geo with its display type set to WIRE), also them vanish on/off too. I believe the quickest way would be to toggle the Show in Viewport…
ok so, I was able to do it by iterating through all the objects inside the Cutters collection :) Since I use HOps, the addon's boolean ops conveniently sends cutter objects there anyway. for obj in bpy.data.collections["Cutters"].all_objects: if obj.type == 'MESH' and obj.display_type == 'WIRE': obj.hide_viewport = False