pymel.core.windows.disableIncorrectNameWarning

disableIncorrectNameWarning(*args, **kwargs)

Disable the warning dialog which complains about incorrect node names when opening Maya files.

Derived from mel command maya.cmds.disableIncorrectNameWarning

Example:

::

import pymel.core as pm

pm.disableIncorrectNameWarning()