Showing error line numbers
 
 
 

If you have problems executing a long script because of an error, turn on script line numbers so you can find the error more easily.

To display the line numbers of erring statements, select Command > Show Line Numbers from the Script Editor.

To turn line numbers off, select Command > Show Line Numbers again from the Script Editor menu.

Maya saves the Show Line Numbers setting for future work sessions. If you turn on line numbers, they appear in the Script Editor the next time you run Maya.