📋 Metadata

💬 Content

Nanomanpro:

Is it possible to use this kind of code as “Property”? I mean ability to turn on and off “Wire” using just one button.

Thx.

Hi, try this code in Command tab:

meshes = [o for o in bpy.data.objects if o.type == 'MESH']; global show_wire; show_wire = meshes and not meshes[0].show_wire; [setattr(m, "show_wire", show_wire) for m in meshes]

🔗 View on Blender Artists