Post #1505: ![](https://blenderartists.org/user_avatar/blenderartists.org/julien_kaspar/48/1

πŸ“‹ Metadata

🏷️ Tags

pie-menu python-scripting intermediate solved

  • Pie Menu Editor
  • Python Scripting

πŸ’¬ Content

Julien_Kaspar:

I do have problems though with adding anything from the 3D View header (like Overlay and Shading popups) to my pie menus. Copying the python commands don’t seem to work.

LMABit:

How does the new bpy.data.screens work? I am trying to put all the shading modes in a pie back.

Looks like Blender generates wrong python paths for overlay and shading properties. Use these paths:

C.space_data.overlay...
C.space_data.shading...

πŸ”— View on Blender Artists