Post #2827: In PME 1.16.4 you can set ignore_area property depending on the current worksp

📋 Metadata

🏷️ Tags

v1-16-4 popup-dialog hotkeys advanced solved

  • Popup Dialog Editor
  • Python Scripting
  • Hotkey Configuration
  • Macro Editor

💬 Content

In PME 1.16.4 you can set ignore_area property depending on the current workspace.
Example for Outliner button (Command tab):

ignore_areas = {"3D / Shading": "ShaderNodeTree"}; ignore_area = ignore_areas.get(C.workspace.name, 'NONE'); bpy.ops.pme.sidearea_toggle(side='LEFT', action='TOGGLE', area='OUTLINER', width=350, ignore_area=ignore_area)

❤️ 3 likes


🔗 View on Blender Artists