Open any screen space (graph editor, dopesheet, 3dview) directly in a new window.
I know you can switch a screen space to what you want and then duplicate it into a new window, but I was looking to tie this to an hotkey.
Thanks,
Gianmichele
Open any screen space (graph editor, dopesheet, 3dview) directly in a new window.
I know you can switch a screen space to what you want and then duplicate it into a new window, but I was looking to tie this to an hotkey.
Thanks,
Gianmichele
Apparently not, but I was able to solve it with a small workaround.
current = context.space_data.type
bpy.ops.wm.context_set_enum(data_path=“area.type”, value=“GRAPH_EDITOR”)
bpy.ops.screen.area_dupli(‘INVOKE_DEFAULT’)
bpy.ops.wm.context_set_enum(data_path=“area.type”, value=current )