📋 Metadata
- Author: roaoao
- Date: 2020-03-23 09:20:38
- Type:
answer - Reply to: post_03094
💬 Content
FeralMan:
I want to have a button that goes for the “Top” view. But if you pressed with CTRL function go for “Bottom” View.
I agree with @Nanomanpro, in this case separate menus is the best choice.
But if you want to use 1 pie you can check E.ctrl, E.shift, E.alt values in Command tab:
bpy.ops.view3d.view_axis(type='BOTTOM') if E.ctrl else bpy.ops.view3d.view_axis(type='TOP')
Also Any key modifier can be useful for this pie.
❤️ 2 likes