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