Pie Menu Editor 1.17.3

Yes, Please share that would be very helpful as I am not familiar with it!

Here it is, be aware that there is only few icons modified (only those that fit my needs)

Thank you for your efforts.
It doesn’t work either. Looks like it’s a challenge. Not as simply as I expected.
I’m grateful if you have any suggestions.

Works for me.
Please export and pm me the menu with this button.

1 Like

Hi @Kim_Quyen,
If you know Python you can find the code to use in Custom tab in Blender’s Text Editor by pressing Edit Source button in RMB context menu of the buttons.
To enable Edit Source feature go to Edit > Preferences > Interface > Display and activate Developer Extras.

Here is the code for brush texture (Custom tab):

b = brush(); b and L.template_ID(b, 'texture', new='texture.new')

Texture image (Custom tab):

b = brush(); t = b and b.texture; t and L.template_image(t, "image", t.image_user)

Thank your answered , one more question

for obj in bpy.context.scene.objects:
    if obj.name.startswith("Cube"):

I have this code, I want to enter it into the Macros to use, how to enter the right syntax ?

Hi, if there is anyone who can help, I assigned a pie menu to the left mouse button when I hold. I want it only to activate if I don’t drag the mouse. PME has a drag option and a hold option but the Hold option behaves the same way as drag.

Does anyone know how to abort/escape/cancel a pie menu and perform normal function if you drag the the mouse before the pie menu activates?

Hi, when I invoke the popup dialog and click on the button, the function assigned to the button is triggered but the dialog box does not close. Has anyone encountered this problem?

Use list comprehensions. Here is the code for Command tab:

[obj.select_set(True) for obj in bpy.context.scene.objects if obj.name.startswith("Cube")]

Hi, PME has close_popups() function. Try to use it at the end of the code:

...; close_popups()
1 Like

I’ll try to implement this in the next version.
Meanwhile you can add a new Stack Key with 1 slot, left mouse button (drag) hotkey and assign function you want to it.

1 Like

Does the current version have a way to create the Preset menu or Images Thumbnails like in the image below?
If not, do you plan to support this feature for the next version?


Hi there, just bought the add on its great so far.

I was wondering if its possible to add the existing context sensitive ‘toolbar’ menu to the bottom of a pie menu? and if that was not possable, a way to bring that menu up. I tried copying the existing ‘wm.toolbar’ but that didn’t do anything at all.


Thank you for looking into it for me. Is there a way to make a dynamic stack key that toggles between a specified tool and the last selected tool you had before choosing that tool?

Yes, looks like it’s possible. Custom tab:

from bl_ui.space_toolsystem_common import ToolSelectPanelHelper; cls = ToolSelectPanelHelper._tool_class_from_space_type(C.space_data.type); col = L.column(); col.scale_x = 1.2; cls.draw_cls(col.column(), C, detect_layout=False)

bpy.ops.wm.toolbar() in Command tab should work.


Yes, here is the code for a stack key:

tool_id = "builtin.select_box"; tool = C.workspace.tools.from_space_view3d_mode(C.mode); tool_id = getattr(pme, "prev_tool", tool_id) if tool_id == tool.idname else tool_id; setattr(pme, "prev_tool", tool.idname); pme.prev_tool_id = tool.idname; bpy.ops.wm.tool_set_by_id(name=tool_id)

Thank you again

Ok, I tried it and it doesn’t seem to be working. What I’m trying to do is toggle between the mask tool and which ever sculpt brush I had before using the mask tool. Maybe I should have specified so I apologize for that. I changed the "builtin selection tool " part of your code and replaced it with the mask tool name but it still didn’t work for me.

UPDATE: It works sometimes but not consistently

Oh, I forgot to ask something else I wanted to do! Grease pencil has an Line Tool, Arc tool, Arc, Curve, Etc. They All require the use of the E key to extrude the strokes in draw mode. I’m trying to remap the E key to left mouse (press) but I can’t seem to find these keymaps in blender preferences or the PME addon. How do I remap the E key to LMB press?

Thank you!

I just bought this Add-On and would like to say thanks for Roaoao for developing it.
I do my daily CAD work in Alias AutoStudio and your Add-On makes my switch to Blender in my privat time so much easier. Coming from the Autodesk world, I’m completely amazed how open minded and great the user and developer community here is. It’s fantastic! :smiley: Thanks for it!

1 Like