Environment Variables

This topic lists all the system environment variables used by 3ds Max to configure paths and settings. All paths are fully-qualified.

Name Description

ADSK_3DSMAX_x64_ <year>

The path to the 3ds Max install. Created by the installation process. On systems where 3ds Max was copied instead of installed, this variable needs to be defined manually.

ADSK_3DSMAX_ APPDATA_DIR

The path used by 3ds Max to read and write local user data. By default this location is C:\Users\<username>\AppData\Local\Autodesk\3dsMax\<year> - 64bit\<lang>

ADSK_3DSMAX_SCRIPTS_ADDON_DIR

A list of semicolon-delimited paths, used in addition to the Additional Scripts folder defined in the Configure User and System Paths dialog.

ADSK_3DSMAX_STARTUPSCRIPTS_ADDON_DIR

A list of semicolon-delimited paths, used in addition to the Additional Startup Scripts folder defined in the Configure User and System Paths dialog.

ADSK_3DSMAX_MACROS_ADDON_DIR

A list of semicolon-delimited paths, used in addition to the Additional Macros folder defined in the Configure User and System Paths dialog.

ADSK_3DSMAX_ICONS_ADDON_DIR

A list of semicolon-delimited paths, used in addition to the Additional Icons folder defined in the Configure User and System Paths dialog.

ADSK_3DSMAX_PLUGINS_ADDON_DIR

A list of semicolon-delimited paths, used in addition to the Additional MAX plug-ins folder defined in the Configure User and System Paths dialog.

ADSK_3DSMAX_ASSETS_XREFS_DIR

A list of semicolon-delimited paths, used in addition to the Xrefs paths defined in the Configure Project Paths dialog.

ADSK_3DSMAX_ASSETS_MAPS_DIR

A list of semicolon-delimited paths, used in addition to the External Files paths defined in the Configure Project Paths dialog.

ADSK_3DSMAX_PROJECT_FOLDER_DIR

The path for the location for project data (such as material libraries, render presets, render output, etc). If this variable is defined but the specified folder does not exist, 3ds Max creates it. This envar takes precedence over the ProjectFolder value in 3dsmax.ini.

ADSK_3DSMAX_USERSETTINGS_DIR

The path for reading and writing user settings. If this variable is defined but the specified folder does not exist, 3ds Max creates it.

ADSK_3DSMAX_SDK_<YEAR>

The fully-qualified path for the 3ds Max SDK, if installed.

ADSK_3DSMAX_SESSION_LOG

The path to the 3ds Max session log.

ADSK_APPLICATION_PLUGINS

A list of semicolon-delimited paths, specifying root folders from which to load additional 3rd party application plug-ins. Each folder can either contain a plug-in, or a collection of folders containing plug-ins.