Post #3531: ![](https://blenderartists.org/user_avatar/blenderartists.org/youthatninja/48/38

📋 Metadata

🏷️ Tags

pie-menu scripting intermediate solved

  • Pie Menu Editor
  • Python Scripting

💬 Content

youthatninja:

Is the way to create a toggle, for smooth/flat shading in one pie item

Try to use bpy.ops.curve.shade_smooth() and bpy.ops.curve.shade_flat() instead.


❤️ 2 likes


🔗 View on Blender Artists