Share
 
 

Read Maya.env from a custom location

By default, Maya first searches for the Maya.env file in your MAYA_APP_DIR/<MayaVersion> location. If you want to override this behavior so that Maya.env is always read from a location of your choice, do as follows:

  1. Save your Maya.env file in the location you want.
  2. Use system commands to set the MAYA_ENV_DIR environment variable to this location.
Tip: To query the location of your MAYA_APP_DIR, type the following in the command line:
getenv "MAYA_APP_DIR"

Was this information helpful?