📋 Metadata
- Author: roaoao
- Date: 2019-09-09 08:15:54
- Type:
answer - Reply to: post_02724
- Replies (1): post_02729
💬 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