Skip to content

Restore CATIA Settings

KaiUR edited this page May 28, 2026 · 1 revision

Restore CATIA Settings

File: Utility_Scripts/Restore_CATIA_Settings.py
Version: 1.0
Document Type: None required


Description

Restores a CATSettings folder from a zip backup created by Backup CATIA Settings. A file picker lets you select the backup zip. The target CATIA version and settings path are auto-detected from the zip filename (e.g. CATSettings_R32_20260528_143000.zip) and displayed for confirmation. Optionally saves a pre-restore backup of the current settings before overwriting. The existing settings folder is cleared and the zip is extracted in its place.


Requirements

Requirement Value
Python >= 3.10
wxPython >= 4.2.5
pycatia Not required
Open document Not required

Usage

  1. Close CATIA before running this script
  2. Run the script
  3. Select a CATSettings backup zip created by Backup CATIA Settings
  4. Confirm the detected version and destination path — change the version if needed
  5. Optionally check Back up current settings before overwriting (recommended)
  6. Click Restore
  7. CATIA will load the restored settings on next launch

Notes

  • CATIA must be closed — if CATIA is running, clearing the existing folder will fail with a permission error
  • The version is auto-detected from the zip filename; if the filename does not follow the CATSettings_<version>_<timestamp>.zip pattern, select the correct version manually from the dropdown
  • The optional pre-restore backup is saved in the same folder as the selected zip
  • Only zips created by Backup CATIA Settings are guaranteed to extract to the correct folder structure

Home


Getting Started


Contributing


Any Document Scripts


Drawing Document Scripts


Part Document Scripts


Shape Generation Scripts


Process Document Scripts


Product Document Scripts


Utility Scripts


Legal

Clone this wiki locally