Post #1630: : post_01632
🏷️ Tags
pie-menu hotkeys advanced solved
⚙️ Related PME Features
- Pie Menu Editor
- Command tab
- Python Scripting
💬 Content
LMABit:
One more questions roaoao. How would you move between area types and space context in UV/Image editor? Trying to make a pie so I can go from any view to UVEdit even it View image was previously selected. For now I can only move to UV/Image editor and see what ever was already visible.
Looks like API for switching area types was changed. Try this in Command tab:
bpy.context.area.ui_type = 'IMAGE_EDITOR'; bpy.context.space_data.mode = 'UV'