Run MEL commands whenever Maya LT starts up

Maya LT runs any commands in the userSetup.mel file whenever it starts up. You can use this file to set up your working environment or execute commonly used MEL commands like aliasing.

The userSetup.mel script is executed during the initialization and setup phase of Maya LT so only commands which set up your working environment and have no dependencies on Maya LT functionality can be successfully run in this script.

To run a certain set of MEL commands every time Maya LT starts up

  1. Create a file named userSetup.mel in the following folder:
    • Windows: ..\My Documents\maya\<Version>\scripts
    • Mac OS X: ~/Library/Preferences/Autodesk/maya/<version>/scripts.
    • (where ~ is your home folder)

  2. In the userSetup.mel file, type the commands you want to Maya LT to run on start up.