Post #2665: ![](https://blenderartists.org/user_avatar/blenderartists.org/pinhead/48/528486_

📋 Metadata

  • Author: roaoao
  • Date: 2019-08-26 13:22:40
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_02660

🏷️ Tags

pie-menu popup-dialog macro hotkeys intermediate advanced solved

  • Pie Menu Editor
  • Popup Dialog Editor
  • Macro Editor
  • Stack Key Editor
  • Custom Python Scripting

💬 Content

Pinhead:

It Is possible in pie menu with Popup Dialog (at the bottom) to press button in popup dialog but without closing pie menu?

You can try this code in Custom tab:

keep_pie_open(L); draw_menu("Popup Dialog")

But in some cases it crashes Blender.

Pinhead:

How do you make the stack key act as a shortcut one by one without pressing the button twice?

Use 1 slot in the stack key and separate commands with semicolon:

print("Hello"); print("World")

Pinhead:

For example i want join 1 command Numpad3 and second command Numpad5. I want go right view and auto switch vie to ortho.

bpy.ops.view3d.view_persportho(); bpy.ops.view3d.view_axis(type='RIGHT')

Or

call_operator("NUMPAD_5"); call_operator("NUMPAD_3")

❤️ 1 likes


🔗 View on Blender Artists