Post #2727: : post_02729
π·οΈ Tags
pie-menu hotkeys intermediate solved
βοΈ Related PME Features
- Stack Key Editor
- Remember State option
- Python Scripting
π¬ Content
Pinhead:
Ok, I was able to create something like this using stack key.
It does not work perfectly as if I wanted to, but somehow it works.
Yes, you did it right. But itβs better to set required values instead of toggling them:
bpy.context.space_data.show_gizmo_object_translate = True; bpy.context.space_data.show_gizmo_object_scale = False; bpy.context.space_data.show_gizmo_context = True; bpy.context.space_data.show_gizmo_object_rotate = False
bpy.context.space_data.show_gizmo_object_rotate = True; bpy.context.space_data.show_gizmo_object_translate = False; bpy.context.space_data.show_gizmo_object_scale = False
bpy.context.space_data.show_gizmo_object_scale = True; bpy.context.space_data.show_gizmo_object_rotate = False; bpy.context.space_data.show_gizmo_object_translate = False
bpy.context.space_data.show_gizmo_context = False
Also Remember State option will be useful in this case:

β€οΈ 1 likes