Go to: Synopsis. Return value. Flags. Python examples.
workspaceLayoutManager(
[name]
, [collapseMainWindowControls=[string, boolean]], [current=boolean], [delete=string], [i=string], [listLayouts=boolean], [listUserLayouts=boolean], [modified=string], [parentWorkspaceControl=string], [reset=boolean], [restoreMainWindowControls=boolean], [save=boolean], [saveAs=string], [setCurrent=string], [setCurrentCallback=string], [type=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
workspaceLayoutManager is undoable, queryable, and editable.
The Workspace Layout Manager loads and saves the layout of the various toolbars and windows in the user interface. This command allows listing and managing their properties.
| string[] | depending on arguments |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
collapseMainWindowControls(cmw)
|
[string, boolean]
|
|
||
|
||||
current(cu)
|
boolean
|
|
||
|
||||
delete(d)
|
string
|
|
||
|
||||
i(i)
|
string
|
|
||
|
||||
listLayouts(ll)
|
boolean
|
|
||
|
||||
listUserLayouts(lul)
|
boolean
|
|
||
|
||||
modified(m)
|
string
|
|
||
|
||||
parentWorkspaceControl(pwc)
|
string
|
|
||
|
||||
reset(rs)
|
boolean
|
|
||
|
||||
restoreMainWindowControls(rmw)
|
boolean
|
|
||
|
||||
save(s)
|
boolean
|
|
||
|
||||
saveAs(sa)
|
string
|
|
||
|
||||
setCurrent(sc)
|
string
|
|
||
|
||||
setCurrentCallback(scc)
|
string
|
|
||
|
||||
type(t)
|
string
|
|
||
|
||||
import maya.cmds as cmds cmds.workspaceLayoutManager( listLayouts=True )