pymel.core.windows.saveAllShelves

saveAllShelves(*args, **kwargs)

This command writes all shelves that are immediate children of the specified control layout to the prefs directory.

Derived from mel command maya.cmds.saveAllShelves

Example:

import pymel.core as pm

import maya.mel
gShelfTopLevel = maya.mel.eval('$tmpVar=$gShelfTopLevel')
pm.saveAllShelves( gShelfTopLevel )
# Result: u'1' #

Previous topic

pymel.core.windows.runTimeCommand

Next topic

pymel.core.windows.saveMenu

Core

Core Modules

Other Modules

This Page