Configuring Your Environment Using the Environment Editor

This task explains how to configure your environment using the Environment Editor.

This task shows you how to:

Edit an Existing Environment

This task explains how edit an existing environment.

  1. Click Start > All Programs > Dassault Systemes 3DEXPERIENCE R2022x > Tools > Environment Editor.

    If you intend to edit a global environment, you must select the command with elevated privileges.

    You can also start the environment editor by running the command:

    "C:\Program Files\Dassault Systemes\B424\win_b64\code\bin\CATSTART.exe" -run "CATIAENV" -env Env -direnv "C:\Program Files\Dassault Systemes\B424\CATEnv"

    The Environment Editor appears.

    Note: The screenshots in this scenario describe how to perform the scenario for the CATIA brand on Windows. But the scenario works exactly the same way for all other brands.



    Note that the list of existing environments is displayed in the Name column in the upper area. The list will contain all the environments detected in the current environment folder. The first environment is selected by default.

    When an environment in the list is selected, click the right mouse to display a contextual menu of environment manipulation commands.

    The Mode column indicates one of two possible values:

    • Global: indicates that the environment was set up by somebody belonging to the Administrators group, or who has the privileges assigned to the Administrators group (you can see all the global environments on your computer): this is what you will see after an initial installation on your computer.

      Global environments are stored in:

      C:\Program Files\Dassault
                Systemes\B424\CATEnv

      Only an administrator can modify global environments.

      This means that you will only see in the list the names of environments you created, or which are common to all users. You can only edit environments which belong to you. Furthermore, if you select a global environment as end user, you will be able to display an environment, but not edit it.

    • User: indicates that the environment was set up using your userid, is visible to you and can only be accessed by you (you cannot see anybody else's user environments). User environments are stored in:

      C:\Users\user\AppData\Roaming\DassaultSystemes\CATEnv

      where user is the username.

    The Last Modified field specifies the date and time the environment was last modified.

    The Environment storage directories area displays the current storage location for both global and user environments. This setting is the location you specified during installation.

  2. To reset the user environment storage directory, select the Options > Set User Storage Directory command to display a file explorer, then explore your filetree to select the directory, and click OK.

    Note: You cannot reset the global storage directory which remains:
    C:\Program Files\Dassault
              Systemes\B424\CATEnv

  3. To display the variables for any environment, click the environment name.

    For example, click the name of the default global environment set up at installation.

    This will be the only environment name in the list after a default installation. However, once you create new environments, these will also be displayed in the list.

    The variables and their values are displayed:

    • the variable name is displayed on the left
    • and the value (path) for the corresponding variable is displayed to the right.

  4. Click a variable name in the list.

    The variable name and its corresponding value are highlighted:

    The default path for the CATTemp variable in our example is:

    CSIDL_LOCAL_APPDATA\DassaultSystemes\CATTemp

    However, you may have installed the online documentation in a different folder.

  5. If you are authorized to edit the variable, click the variable value to be able to edit it, then type in the new value.
    For example, you would type in the new path for the variable CATTemp. The value of the variable is reset in the Value field.
  6. Exit and click OK to save your changes.

CSIDL Values in Environment Variable Paths

There are a number of folders that are used frequently by applications, but may not have the same name or location on any given system. CSIDL values provide a unique system-independent way to identify these special folders.

Consequently, CSIDL values are now part of paths pointed to by environment variables. The variables concerned are:

  • CATUserSettingPath
  • CATTemp
  • CATReport
  • CATErrorLog
  • USER_HOME

What Is the DSKEY_TMPDIR Key?

The temporary file path is obtained as follows:

  • the path specified by the TMP environment variable.
  • the path specified by the TEMP environment variable, if TMP is not defined.
  • the Windows directory, if both TMP and TEMP are not defined.

Create an Environment

This task explains how to create a new environment using the Environment Editor.

  1. Click Start > All Programs > Dassault Systemes 3DEXPERIENCE R2022x > Tools > Environment Editor.
  2. Click Environment > New to display the following dialog box:

  3. Enter the name of the environment to be created.
  4. Enter the path of your installation folder.
    The default installation folder path is:

    C:\Program Files\Dassault
              Systemes\B424\win_b64

  5. Set the type of environment in the Mode field.
    The type can be User or Global (global is available only for administrators only). If you are logged on as a normal end user, the type is set automatically to User.
  6. Click OK to create the environment.

Copy an existing environment

This task explains how to create a new environment using the Environment Editor by copying an existing environment.

  1. Click Start > Dassault Systemes 3DEXPERIENCE R2022x > Environment Editor.
  2. Select an environment and click Yes to confirm you want to modify it.
  3. Click Environment > New from... to display the following dialog box:



  4. Customize the name of the environment to be created.
  5. Check Add a new path to this environment if required, and specify the new path.

    Adding a new path in the concatenation adds the path before the current installation path, which is displayed for information purposes.

  6. Set the type of environment in the Mode field.
    The type can be User or Global (global is available only for administrators only). If you are logged on as a normal end user, the type is set automatically to User.
  7. Click OK to create the environment.

Create and Delete User-Defined Variables, and Edit Variables using the Contextual Menu

This task explains how to create and delete user-defined variables, and edit any variable, using the contextual menu.

  1. Click Start > All Programs > Dassault Systemes 3DEXPERIENCE R2022x> Tools > Environment Editor.
  2. To display the variables for any environment, click the environment name and confirm that you want to modify it.
  3. Without selecting a variable, right-click on the variable list to see the options.
  4. To create a user-defined variable, Click New Variable command to display the Variable Editor dialog box:



    and enter the variable name, its value, and a comment if required, then click OK.

  5. To delete a user-defined variable, select the variable, then select the Delete Variable command, then click Yes to delete the variable.
    Note that you can delete only user-defined variables created using the New Variable command, and not official variables.
  6. To edit any variable, select the variable, select the Edit Variable command to display the Variable Editor dialog box:



    then enter its new value and click OK. Note that the variable name and comment field are not available if you are modifying an official variable. However, the name, value and comment are editable if you are editing a user-defined variable only.

  7. Click Save in the context menu.