Post #4088: I don’t know if that pme operator is working, you could try this alternative:
📋 Metadata
- Author: Motiomancer
- Date: 2021-09-26 19:36:05
- Type:
answer - Quality Score: 7/10
- Reply to: post_04087
- Replies (1): post_04089
🏷️ Tags
⚙️ Related PME Features
- 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