Removing "onModelChange3dc" error window in Maya
Issue : when loading a scene in Maya or changing the viewport panels, the following error appears // Error: line 1: Cannot find procedure "onModelChange3dc". // Solution : Method 1: 1. Go to your Maya Preference folder ("Documents\maya\<Maya version>\prefs) 2. Open the "userPrefs.mel" in notepad or any IDE. 3. Press Ctrl+F and find for "onModelChange3dc" and remove this text -editorChanged \"onModelChange3dc\" from all lines. 4. Save the Mel file and Re-open the Maya. Method 2 : Run the given below script in your Maya python script tab. import pymel.core as pm for panel_ in pm.getPanel(type="modelPanel"): callback = pm.modelEditor(panel_, query=True, editorChanged=True) if callback == "onModelChange3dc": pm.modelEditor(panel_, edit=True, editorChanged='') Method 3 : Run the given below script in your Maya python script tab. import pymel.core as pm for item in pm.lsUI(editors=True): ...