Post #738: raoaoa i want to add pie menus import function to a operator ,

๐Ÿ“‹ Metadata

  • Author: draguu
  • Date: 2017-06-19 03:19:32
  • Type: question
  • Quality Score: 5/10

๐Ÿท๏ธ Tags

pie-menu hotkeys intermediate unsolved

  • Pie Menu Editor
  • Python Scripting

๐Ÿ’ฌ Content

raoaoa i want to add pie menus import function to a operator ,

i have specific path

pmefile = os.path.join(path,โ€œmy_pie_menus.jsonโ€)

bpy.ops.wm.pm_import(filepath = pmefile, mode=โ€˜REPLACEโ€™)

is this correct??

i wanted to add that โ€œmy_pie_menus.jsonโ€ into pie menus , but this code does nothing

can you please let me know where i am doing mistake ?


๐Ÿ”— View on Blender Artists