API Reference
nuke.
saveWindowLayout
Saves the current window layout.
i – Optional layout index. If this is omitted or set to a negative value, save as the default layout.
None.