Pie Menu Editor 1.18.2

Yep, it’s random but it happens.
Please try to copy this file to scripts/addons/pie_menu_editor/ folder and restart Blender.

1 Like

I put the file in
AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\pie_menu_editor
But nothing happened.

Suggesting that maybe the process of install changed. I tried to put it in the archive with the addon, replacing the original. And install from User Pref … Nothing.

Updated the file. Please try again.

It`s work. Awesome. Thank you very much!

Hello, incredible add-on. I have been struggling with one issue though. I would like to create context sensitive commands in the Node Editor. For example, a command which would allow me to change the name of a currently selected node. Right now it seems like I must designate the node tree and specific node name if I want to make changes to the node, I want something that will allow me to change the properties of any given node. How would I do this with Pie Editor?

Add C.active_node.name to property box.

I recommend Context Browser 1.2.1 from roaoao if you’re struggling with finding context members. Nodes have a special context which isn’t accessible from the interactive console.

Thank You roaoao! Works great!
It is possible to make toolbars more wider?

You can change toolbar size in add-on preferences (video).

shame on me! I dont check the settings … thank You!

Sorry, i try search…
On tuts video, in debug mode, i can see log list of action. But on video log more clear, without reports about mouse route movement, 2d move steps and wheel scroll.

(bpy.ops.view3d.zoom(mx=794, my=711, delta=-1)
bpy.ops.view2d.scroll_up(deltax=0, deltay=40)

how to exclude movements and zoom wheel in the debug log?

Afaik we can’t hide these log messages.
Looks like they were added in recent Blender versions.

Dear roaoao, I found the following thing.
I came to my work, open my Blender, tried to apply yesterday’s fix for “panel_utils” and got a lot of errors … the addon just turned off. Then there was a 20 minute trial …

So, we have:

If you download Blender3d from the official site, and go from the main page by clicking on the Download tab at the top of the page - you get another distribution.
Truncated, trimmed and smaller on 20 megabytes. It lacks many api-files to work in Windows.
If for some reason they are not in the system, not installed updates or something else, then your Blender starts to work unstable. Or the modules and addons stop working as expected.

Ok. Solution?
Yesterday’s fix, works only with the full version, i.e. portable, with all Win APIs from the site builder.blender.org/download ! (Weight 127.2 mb)
So be careful.
Official, from blender.org - not full - 110 mb zip x64, does not include much. That can lead to errors, fall and incorrect work of addon`s! Not only pie editor.

Hope it help.

1 Like

Dear roaoao, thanks again for this wonderful addon. I was wondering if there is a way to access bpy.data.node_groups so that I could create a popup menu to quickly pull up different node trees in the node editor. In other words, I would like to be able to access the pictured drop-down menu.

Each node editor has its own way to access the data. For example:
Change active animation node group:

C.space_data.node_tree = D.node_groups['Node Group Name']

Change active shader node group:

C.space_data.id_from.active_material = D.materials['Material Name']

To create a popup menu for animation nodes editor add a new Regular Menu with 1 slot and use this code in Custom tab (Tested in Blender 2.79):

[operator(L, "pme.exec", text=ng.name, icon='CHECKBOX_HLT' if C.space_data.node_tree == ng else 'CHECKBOX_DEHLT', cmd="C.space_data.node_tree = D.node_groups['%s']" % ng.name) for ng in D.node_groups]
1 Like

Hey roaoao, thanks so much for you answer. Tried it out, i’m wondering if there is a way to describe a condition so that only animation nodes node groups art called up. Currently my material groups are also being brought up.

Try to add this condition:

if ng.bl_idname == 'an_AnimationNodeTree'

Final code:

[operator(L, "pme.exec", text=ng.name, icon='CHECKBOX_HLT' if C.space_data.node_tree == ng else 'CHECKBOX_DEHLT', cmd="C.space_data.node_tree = D.node_groups['%s']" % ng.name) for ng in D.node_groups if ng.bl_idname == 'an_AnimationNodeTree']

I just fixed my Vertex, Edge, Face mode. You can use this.

bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='VERT')

You can change type= to VERT or EDGE or FACE.
use_extend is if it’s going to shift add to whatever type you’re editing. If editing vertices, and type=‘FACE’ with extend it’s going to edit Vertices and Faces etc. I chose it to be False in my example.

1 Like

@roaoao I have a question, this is a tricky one for me to get into a pie.


If I have edges selected, do you know if I can get Bevel Weight and Crease Weight number input fields into a menu. Edge Data. It resides in properties panel.

They change depending of numbers of edges selected to display Mean Bevel Weight etc.

It’s not a show stopper, but it would be neat if I could get it into one of my pie menus.

Thanks for taking the time to respond. If anyone else knows a way feel free to respond.

@aermartin, check this post.

They change depending of numbers of edges selected

In my example it shows crease/bevel weight value of the first edge in the selection (to speed up the code). But you can modify the code (getter).

Note that I’m using a lot of A and B and C code in the example which is the same as using this code:

if A:
    if B:

In the post you say use in Menu tab, I though it would go in Command tab.
I get syntax error. :frowning: copied both code from post, and the .json file.

Has some API changes been done since that post that breaks the code snippet.