Edit an Existing Environment
You can edit an existing environment.
-
Go to the Environment Editor.
- On Windows:
- Click Start > All Programs > Dassault Systemes
3DEXPERIENCE R2027x > 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\B428\win_b64\code\bin\CATSTART.exe" -run "CATIAENV" -env
Env -direnv "C:\Program Files\Dassault Systemes\B428\CATEnv"
The Environment Editor appears.

Name column: list of existing environments. The list contains 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-right to display a
contextual menu of environment manipulation commands.
Mode column: indicates one of two possible values
-
Global: indicates that the environment was
set up by an Administrator, or someone 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:
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 that 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
on Windows
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.
-
To reset the user environment storage directory, select the 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 the same
as during installation:
-
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.
-
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.
-
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.
-
Exit and click OK to save your changes.
Result:
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
You can create a new environment using the Environment Editor.
-
Go to the Environment Editor
- On Windows:Click Start > All Programs > Dassault
Systemes 3DEXPERIENCE R2027x > Tools > Environment
Editor.
-
Click Environment > New to display the following
dialog box:
-
Enter the name of the environment to be created.
-
Enter the path of your installation folder.
The default installation folder path is:
-
C:\Program Files\Dassault Systemes\B429\win_b64
on Windows
- on Linux
-
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.
-
Click OK to create the environment.
Copy an existing environment
You can create a new environment using the Environment Editor by copying an
existing environment.
-
Go to the Environment Editor
- On Windows:Click Start > All Programs > Dassault
Systemes 3DEXPERIENCE R2027x > Tools > Environment
Editor.
-
Select an environment and click Yes to confirm you
want to modify it.
-
Click Environment > New from... to display the
following dialog box:
-
Customize the name of the environment to be created.
-
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.
-
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.
-
Click OK to create the environment.
Create and Delete User-Defined Variables, and Edit Variables using the Contextual
Menu
You can create and delete user-defined variables, and edit any variable,
using the contextual menu.
-
Go to the Environment Editor
- On Windows:Click Start > All Programs > Dassault
Systemes 3DEXPERIENCE R2027x > Tools > Environment
Editor.
-
To display the variables for any environment, click the environment name
and confirm that you want to modify it.
-
Without selecting a variable, right-click on the variable list to see the
options.
-
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.
-
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.
-
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:
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.
-
Click Save in the context menu.
|