Post #160: ![](https://blenderartists.org/user_avatar/blenderartists.org/draguu/48/15444_2.

📋 Metadata

  • Author: roaoao
  • Date: 2016-05-11 08:34:20
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_00159

🏷️ Tags

pie-menu hotkeys intermediate solved

  • Pie Menu Editor
  • Script
  • Stack Key Editor
  • Python Scripting

💬 Content

draguu:

Thanks a lot roaoao, that helps a lot , one last thing , is there any way to make condition , if i have selected perticular bone.001 then only open pie menu

Yes, it’s possible.
Add Script (or Stack Key) and use this code for it (replace pie menu name and bone name):

open_menu('Your Pie Menu Name') if C.object.data.bones['bone.001'].select else None

🔗 View on Blender Artists