📋 Metadata
- Author: roaoao
- Date: 2018-10-31 10:33:54
- Type:
answer - Reply to: post_01627
- Replies (1): post_01632
💬 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'