Typical Environment Variables

This topic describes typical environment variables specified in the [matrix] section of the enovia.ini file.

Variable Description
MATRIXHOME The location of the connection file (MATRIX-R file). After the installation is complete and 3DSpace is operational, the connection file manages where the database resides.
MATRIXINSTALL The root installation directory for Studio Modeling Platform or 3DSpace Service, as defined in the installation procedure. For example, C:\enoviaVERSION\studio\ or C:\enoviaVERSION\server\.
ENOVIAINIDIR A Windows environment variable that specifies the location of the enovia.ini file. For example:
ENOVIAINIDIR=C:\enoviaVERSION\server\win_b64\code\bin. 

For details, see Setting the Location of the enovia.ini File on Windows.

PIXMAPPATH Where 3DSpace looks for icons as images. If you have a library of icons, you can append the location of your icons to this value.
COLORPATH The path to the RGB.txt file which defines the color mixtures to the system.
MATRIXPATH The execution directory, as defined in the installation procedure. For example,
MATRIXINSTALL\PLATFORM\code\bin\
TCL_LIBRARY Sets the path to the Tcl script, init.tcl, which initializes Tcl for use with MQL.
TK_LIBRARY Sets the path to the Tcl script tk.tcl, which initializes Tk for use with MQL.
TMPDIR A directory that 3DSpace uses for temporary files. Because each operating system also has its own environment setting for this use, you should set TMPDIR to the same value as the TMP operating system variable for predictable results. Once a transaction is completed, the files are removed from this directory. If space is limited on the disk where 3DSpace is installed, you may want to change this to point to a disk with more free space.

On Windows, if TMPDIR is not set, it defaults to the value of the TEMP environment variable setting. If one does not exist or is invalid, TMPDIR is set to the same directory as MATRIXINSTALL. On UNIX, there is no default setting for TMPDIR but the 3DSpace kernel uses /usr/tmp/ if the variable is not set.

MX_JVM_DIR The location of the Java Virtual Machine.
MX_JDK_DIR The location of the Java Development Kit.
MX_JAVAC The location of the javac compiler.
MX_CLASSPATH Contains the path to the Java compiler that is specified during installation of 3DSpace. It is used by the Studio Modeling Platform and the 3DSpace Service service when starting the Java Virtual Machine (JVM) for both compiling and executing JPOs. With the Studio Modeling Platform, if you are running JPOs that are provided with Collaboration and Approvals or other apps, MX_CLASSPATH must include the path to the Collaboration and Approvals jar files.
MX_ARCH The Dassault Systèmes-defined architecture value (one of win_b64, win_b64, aix_a64, linux_a64, linux_b64, solaris_a64, or solaris_b64). This variable was previously named ARCH.