📋 Metadata
- Author: roaoao
- Date: 2018-07-18 09:45:30
- Type:
answer - Reply to: post_01474
💬 Content
thomas_p:
I’d like to call an existing pie menu that has been defined outside Pie Menu Editor (comes with another addon) by clicking on a button.
According to the input tab the code to make it show is:
wm.call_menu_pie with the name of the pie menu given as object.hair_tool_menuIs it possible to bind this command to a button in Pie Menu Editor so that my own pie menu gets replaced by the addon-specific one?
Yes, you can use that code in Command tab like this:
bpy.ops.wm.call_menu_pie(name="object.hair_tool_menu")
❤️ 2 likes