Go to: Synopsis. Return value. Python examples.
disableIncorrectNameWarning()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
disableIncorrectNameWarning is NOT undoable, NOT queryable, and NOT editable.
Disable the warning dialog which complains about incorrect node names when opening Maya files.None
import maya.cmds as cmds cmds.disableIncorrectNameWarning()