Post #2569: : post_02570
🏷️ Tags
pie-menu hotkeys advanced solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
- Macro Editor
- Custom Icons
💬 Content
Pinhead:
Is possible with PME to align selected points to the last selected vertex on any axis?
Sure, repeat those steps in Blender, find and select them in Info area and add as a command to your menu by using ctrl+shift+` hotkey. Here is an example:
Pinhead:
Is possible to merge this command:
C.space_data.overlay.show_edge_bevel_weight = not C.space_data.overlay.show_edge_bevel_weightwith this:
(override_context(‘VIEW_3D’)
You need to find space_data for 3d view area in the current window. You can use find_by() PME function for this:
a = find_by(C.screen.areas, "type", 'VIEW_3D'); space_data = a.spaces.active; space_data.overlay.show_edge_bevel_weight = not space_data.overlay.show_edge_bevel_weight
Pinhead:
It is possible to run pie menu on selected object. Now is only working on selected active object.
Depends on the tool.
You can use this code to make one of the selected objects active:
C.view_layer.objects.active = C.selected_objects[0] if C.selected_objects else None
❤️ 3 likes