📋 Metadata

  • Author: draguu
  • Date: 2017-06-19 03:19:32
  • Type: question

💬 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