Coming from 3ds Max I really miss in Blender a way of toggling wireframe on shaded for all scene objects with a single shortcut key. Googling around I found a variety of scripts that come close to the described functionality, I really like the one included in Bforartists, so I installed it in Blender. Still, the issue is I cannot toggle with a single key press.
Does anybody know a script that does actually toggle so I can assign it to a single hotkey?
If the issue is being able to toggle for all objects in the scene then it’ll require a bit of tweaking to an existing script or writing your own. I’m not aware of any existing scripts that do this.
You can use this one, though, just copy it into a Text Editor then press ALT+P to run it:
import bpy
class allObjectsEdgesWire(bpy.types.Operator):
"""Toggle Wire Display With All Edges"""
bl_label = "Toggle All Edges Wire on all objects"
bl_idname = "object.all_objects_edges_wire"
bl_description = "Toggle all-edges wireframe on all objects in scene"
def execute(self, context):
objs = context.scene.objects
for obj in objs:
obj.show_all_edges = not obj.show_all_edges
obj.show_wire = not obj.show_wire
return {"FINISHED"}
def register():
bpy.utils.register_class(allObjectsEdgesWire)
def unregister():
bpy.utils.unregister_class(allObjectsEdgesWire)
if __name__ == "__main__":
register()