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
โ๏ธ Related PME Features
- 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 ?