Go to: Synopsis. Return value. Python examples.
savePrefObjects()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
savePrefObjects is undoable, NOT queryable, and NOT editable.
This command saves preference dependency nodes to "userPrefObjects.ma" in the user preference directory.boolean | True if successful. |
import maya.cmds as cmds cmds.savePrefObjects()