📋 Metadata

💬 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'

🔗 View on Blender Artists