This command saves preferences to disk. If no flags are specified then all pref types get saved out.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
colors / c | bool | ![]() |
|
|
|||
general / g | bool | ![]() |
|
|
|||
hotkeys / hk | bool | ![]() |
|
|
|||
menuSets / ms | bool | ||
plugins / pl | bool | ![]() |
|
|
|||
uiLayout / ui | bool | ![]() |
|
|
Derived from mel command maya.cmds.savePrefs
Example:
import pymel.core as pm
# only save the hotkeys
pm.savePrefs( hotkeys=True )
# save everything
pm.savePrefs()
# only save ui layout prefs
pm.savePrefs( uiLayout=True )