This command saves preference dependency nodes to userPrefObjects.main the user preference directory.
Derived from mel command maya.cmds.savePrefObjects
Example:
import pymel.core as pm pm.savePrefObjects() # Result: u'1' #