Post #4088: I don’t know if that pme operator is working, you could try this alternative:

📋 Metadata

🏷️ Tags

scripting intermediate

  • Python Scripting

💬 Content

I don’t know if that pme operator is working, you could try this alternative:

bpy.ops.screen.area_split('EXEC_DEFAULT', True, direction='VERTICAL', factor=0.7); C.screen.areas[-1].ui_type = 'ASSETS'

and then close the last area created (added in 3.0) with:

bpy.ops.screen.area_close({"area": bpy.context.screen.areas[-1]})

❤️ 2 likes


🔗 View on Blender Artists