Post #4512: You can use the pme override context option

📋 Metadata

🏷️ Tags

macro hotkeys advanced solved

  • Macro Editor
  • Python Scripting
  • Hotkey Configuration

💬 Content

You can use the pme override context option

command tab:

bpy.ops.pme.exec(override_context('VIEW_3D'), cmd='bpy.context.space_data.overlay.show_overlays ^= True')

❤️ 1 likes


🔗 View on Blender Artists