i cant imagine using blender without PME. its the main reason i switched from other soft to blender…
Guys, im trying to make pretty simple macro with a sequence of some commands:
- Import from RizomUV bpy.ops. Those automatically import unwrapped geo to blender.
- Toggle Edit mode
At this point everything works fine. If i run those macro, i will have my unwrapped geo from Rizom, and object will automatically switch to Edit mode.
But at the next stage i need simply select all in Edit Mode, so i added: - bpy.ops.mesh.select_all(action=‘SELECT’)
Unfortunately this gives me those error:
error message
Python: Traceback (most recent call last):
File “C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\pie_menu_editor\operators.py”, line 2167, in invoke
return self.execute_menu(context, event)
File “C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\pie_menu_editor\operators.py”, line 1976, in execute_menu
execute_macro(pm)
File “C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\pie_menu_editor\macro_utils.py”, line 243, in execute_macro
op(‘INVOKE_DEFAULT’, True, **props)
File “C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules\bpy\ops.py”, line 130, in call
ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Operator bpy.ops.pme.macro_import_from_rizomuv.poll() failed, context is incorrect
location: :-1
Im not really sure why those error are happening? It looks like there’s no problem to simply select all ![]()
Hi @SoundDifferent,
Use 'EXEC_DEFAULT', True in the 3rd operator.
bpy.ops.mesh.select_all('EXEC_DEFAULT', True, action='SELECT')
In this case macro skips context checking for mesh.select_all() operator.
Any one can give me the code for changing the color space of the selected nodes?
Basically I want to do:
bpy.data.images[“selection”].colorspace_settings.name = ‘Linear’
But I haven’t found any replacement for ‘selection’. Like. ‘*’ doesn’t work. Sorry, not a coder.
Try in the command tab:
Shader Editor:
[setattr(x.image.colorspace_settings, "name", 'Linear') for x in C.active_object.active_material.node_tree.nodes if x.select and x.type == "TEX_IMAGE"]
Compositor:
[setattr(x.image.colorspace_settings, "name", 'Linear') for x in C.scene.node_tree.nodes if x.select and x.type == "IMAGE"]
Is something changes in Blender 3.1?
I was used return C.area.type == ‘GRAPH_EDITOR’ for some pie work only in graph editor, but in 3.1 its doesnt work and still open wrong pie menu.
Wow, absolut awesome. Thats a cool snipped of code. Wow, so much possible with that.
YEAH !! Headers are back Thanks you, Thank you, I LOVE PME!
Nwm. Not sure where was the problem, but now it works as expected. I bet i just messed up somewhere. My bad ![]()
I love been able to open a window on the sides through PME. Is there anyway you could do one for the bottom too please?
man, how did you add this buttons? share plz
I used the PME Addon. I only just realised you could do it yesterday. Added the buttons for opening and closing the left and right panels. Made an import/Export button above the outliner and then some buttons for viewport display in the top right of the viewport. I was amazed!!! ![]()
oh i got it, yep thank you for idea
is it possible to open a pie through another pie?
is there a template with the shortcuts already configured?
thanks
- Make two pie menus.
- In the main Pie (the one that will call the other), edit one of the slots (pie menu item).
- In the pie menu item editor, you’ll see five tabs - command, property, menu, hotkey, and custom.
- Select ‘Menu’ and a list of all menus you created will be there.
- Select the other pie you want to have pop up and hit ‘ok’.
Where is the Pie menu Editor autosaves stored?
Do you believe that it is possible to use the pie menus with the keyboard in the image below?
thanks
Hello
is there a way to use pie menu with letters instead of numbers?
selecting open pie commands with letters and not numbers?
thank you so much
I’m watching a video for PME about creating a modal and I cant get it to work. I am trying to use the loop cut and slide tool to create a modal where as when I activate the tool on an edge, left click to confirm its placement in the center of the edge then using a modal to right click move my wacom pen to the right increases the number of cuts and to the left decreases the number of cuts.
Could someone help me please as I would like to apply this to bevel too.
I would also like to know how I can add the tool setting bar to the bottom.




