Go to: Synopsis. Return value. Python examples.

Synopsis

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.

Return value

None

Python examples

import maya.cmds as cmds

cmds.disableIncorrectNameWarning()