📋 Metadata
- Author: BD3D
- Date: 2018-11-19 22:24:25
- Type:
bug_report - Reply to: post_01652
- Replies (1): post_01662
💬 Content
i was referring this post , this doesnt work in 2.8
roaoao:
I am trying to add the “Choose Screen layout” and I get the “can’t add this widget” message.
Is there any way to do it?Some complex widgets can be added only manually.
You can use this code in Custom tab:Copy to clipboard
L.template_ID(C.window, "screen", new="screen.new", unlink="screen.delete")Or this in Command tab:
Copy to clipboard
bpy.ops.pme.screen_set(name="Default")
name- is the screen name