Post #1033: Ja

📋 Metadata

  • Author: roaoao
  • Date: 2017-10-13 14:13:10
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_01032

🏷️ Tags

v1-14-3 popup-dialog hotkeys configuration intermediate solved

  • Popup Dialog Editor
  • Execute on Open
  • Hotkey Configuration

💬 Content

Jakro:

the property panel pop up button has stopped switching me to modifier mode. I’m using this code:
bpy.ops.pme.popup_area(‘INVOKE_DEFAULT’, area=‘PROPERTIES’); win = C.window_manager.windows[-1]; bpy.ops.pme.exec(dict(window=win, screen=win.screen, area=win.screen.areas[0]), cmd=“C.context.space_data.context = ‘MODIFIER’”)

Yep, in PME 1.14.3+ you need to use Execute on Open option instead. Try this code:

bpy.ops.pme.popup_area(area='PROPERTIES', cmd="C.space_data.context = 'MODIFIER'")

Jakro:

I some how deleted the ctrl+alt+` to get the debug menu. I tried a dozen things to get the debug menu shortcut working again with no luck. would really appreciate if you could let me know how to add this back. Thanks

Go to User Preferences - Input tab - Screen - Screen Editing and try to find Edit Menu item and edit the hotkey.
If there is no such item, press Restore button.


🔗 View on Blender Artists