Post #3180:
Ma
📋 Metadata
- Author: roaoao
- Date: 2020-04-11 12:07:55
- Type:
answer - Quality Score: 8/10
- Reply to: post_03178
- Replies (1): post_03182
🏷️ Tags
macro hotkeys intermediate solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
- Hotkey Configuration
💬 Content
MatsuikoHiroka:
does macro operator works too?
Your macro works only in 3d view area.
Use this code to focus 3d area and call the macro with some delay required to change active area:
focus_area('VIEW_3D'); bpy.ops.pme.timeout(override_context('VIEW_3D'), cmd='open_menu("Startup_Macro_Max")')
❤️ 5 likes