
Author: El_Juanri Contributors: V. 1.0.2 Review: 07-10-2010 |
1. Reasons for to create this program
2. Objectives
3. What the program can do
4. Contents
5. Operating systems and requirements
6. Language
7. How to use it and relations between variables
8. Operating the program
8.1. Create shortcut icon of CATIA v5
8.2. Common steps to manage CATSettings
8.3. Obtaining the information about your CATSettings
8.4. Open the environment file
8.5. Delete all CATSettings for a specific icon
8.6. Open the CATSettings folder to manage them manually
8.7. Selecting the CATSettings files which we want to keep
8.8. Obtaining a backup copy
8.9. Restore a backup copy
8.10. Adding Reference CATSettings to an existing icon
8.11. Migrating saved CATSettings to a later release
8.12. Delete a CATSettings folder saved in backups
9. Exit from the program
10. Problems which may occurs
11. Responsibilities
12. Video tutorial about using the program
13. Credits and Copyrights
A problem which appears for many “beginners” users is to know where are the CATSettings in order to delete them when problems appear (like losing of the specification tree, losing icons, rarely occur errors, etc...). If they try to find their CATsettings it will be a little bit difficult due to different kind of installations on different computers.
Among other things if they go to the directory “environment” CATEnv (Environment: variable -direnv) and if they open the environment file – which is a txt file (Variable: -env) - they can see a text like this:
CATUserSettingPath=CSIDL_APPDATA\DassaultSystemes\CATSettings
And that “begins to be complicated”….This folder is “normally” “hidden” by Windows configuration and we need to know where it is.
Version 2 covers the case of those users working for another company and which receive some Reference CATSetttings having to install them and do not know how or where.
As we all know the Reference CATSettings are those ones which are “locked” in Options to prevent users from change them.
Starting with Version 2, you can create a shortcut to a new environment.
Another thing in Version 2 is the possibility to convert CATSettings from a Release (for example R16) to another one (eg R19).
Keep in mind that when you install on a computer two Releases, the files “Environment” are distinct but CATUserSettingPath parameter which defines the path where are the CATSettings is the same and therefore the new installed version would use the previous version of CATSettings.
If you install a new Release and before you haven't uninstalled previous Release nothing really serious happens. I have personally used the same CATSettings from one version to the next and I had no problems. But D.S. recommends using a specific program to convert from one version to another one for a complete adaptation.
The problem arises when both versions coexist in the same operating system on a PC. If we do not use the “shortcut icon” created by CATIA v5 at the installation, without knowing, we are using the same CATSettings for both releases, which is a serious error.
With Version 3 a “shortcut icon” can be created to enter in a new Environment as CATIA V5 Administrator Mode.
CATUserSettingPath=C:\Documents and Settings\User\Application Data\DassaultSystemes\CATSettings
And you already understand all...
With this program we can:
Or know the following:
In this version there are following possibilities, both for Reference CATSettings and also for the User.
For a correct use of this program, you need to have in the same folder with the exe file:
The first time you run the program it will create and save a folder “C:\ GestCATSetting\User” from where you manage your backups.
![]()
This program was tested on:
Currently this version is not working in Windows Vista.
As the program handles excel files that have macros assigned to the button which save and delete the blank intermediate lines, it is necessary that the user enable “Tools
Macros
Security” Security Level = Medium, to allow this macros to be run. Without those macros the file is not saved correctly.
When the program is launched, a welcome screen will appear where we can choose in which language we want to see buttons and messages:

Once you hit the button Continue, the main panel of the program will show. You can change the language in this panel also by clicking on what flag you want. At the same time, the help file which you are reading now is launched
![]()
Next time when you will use this program will not show this panel because the program creates a file “Lenguaje.txt” in the “C:\GestCATSettings\User” folder in order to save the last selected language. This file will be updated if we change the button flag.
For a correct functioning of this program, is necessary to have CATIA v5 (corresponding with the shortcut icon - file type .lnk) to be closed. If is not, some options will be resaved, which will require a new execution of the program GestionarCATSettings.exe, in order to have last CATSettings. This program can be used only for CATIA v5, which is launched with a shortcut icon.
This program doesn’t need a CATIA license but needs to have CATIA properly installed, just its own license file, which is implicitly delivered with the program and in case of expiring you have to contact Juanri.
As everyone knows, the shortcut icon is a file with extension .lnk, placed in a system folder named “Desktop”. The names of the shortcut icons should be different because in a folder there cannot be two files with the same name.
Each icon should, of course, have associated a file of “environment” (variable -env) on a “directory of environment” (variable -direnv). This will allow us to dedicate each shortcut icon to a different job and different settings; although CATIA v5 program is booted in the same Release. A typical case is to have an icon of CATIA v5 Release 16 for working with the company “BOM” and another one for the same release, for the company “JAMES007” which may have different requirements embedded in DLNames and which can be “locked” in the customization of CATIA v5.
I personally use the same directory of environments for all environment's files of the same Release (where software install by default), but this is not mandatory..
The files of “environment” can not be “invented” as they have a fixed-structure with a set of parameters that indicate to CATIA v5 where are stored Reference and User CATSettings, different options associated with how to start the program, all of them specifically for this release. This is the aspect of one of them:

Therefore, when we want to create a new shortcut icon, you must copy an existing environment of this Release, and from it to change the lines where they appear:
CATReferenceSettingPath = (where are, if any, my Reference CATSettings)
CATUserSettingPath = (where are my User CATSettings)
And this is what makes the program: starting from the environment file associated with a shortcut icon (which can be dragged on the panel). The program will modify these lines and save in a directory -direnv selected with another name and/or location.
| Dirija sus preguntas a: juanri@muchocatia.es | CATIA V5 |