← Handbook   Project site   DEEN

Operation and help

Updating, going back to an earlier version, recovering after a problem in CATIA, reporting problems and removing CadPilot again – all without administrator rights.

As of: 26 Sep 2026 · Set-up: handbook, chapter 4 · first test: live-test guide

1. Which version is running?

In a command prompt in the CadPilot folder:

.venv\Scripts\python.exe -c "import catia_mcp; print(catia_mcp.__version__)"

The set-up (scripts\setup_user.cmd) also ends with ALL TESTS PASSED — 103 tools ready; the number of tools changes with new versions. What changed in which version is listed in the news.

2. Updating to a new version

  1. Get the ZIP file: CadPilot-<version>.zip (from Martin or from the release in the repository).
  2. Unpack it into a new folder next to the old one, e.g. C:\Users\<name>\CadPilot-0.4.0. Do not overwrite the old folder – it is your way back.
  3. Set up: double-click scripts\setup_user.cmd in the new folder. The working folder stays the same; your working copies are kept.
  4. Switch: in VS Code “File → Open Folder” with the new folder, then “MCP: List Servers” → catia-v5 → Start.

With Git instead of ZIP: git pull in the folder, then run scripts\setup_user.cmd again.

From 0.5.0: the structured result format (v2) is the default. If you use the setup script, nothing changes – it already set v2. Only your own program that parses the old text answers needs "CATIA_MCP_RESULT_FORMAT": "v1" in mcp.json.

3. Going back to an earlier version

Every version has its own folder with its own Python environment and server settings. Going back therefore only means opening the old folder in VS Code and starting the server there. With Git: git checkout v0.3.0 (the version you want) and scripts\setup_user.cmd.

4. When something goes wrong in CATIA

SituationWhat helps
The last step was wrongAsk Copilot: “Show the journal” and “Undo the last change” (catia_journal_list, catia_undo_last). Works for parameter changes and new features, only for the last step and only as long as nothing builds on it.
Material, properties, new parameters or formulas should be undoneNot via the journal. The old values are in the tool’s result – reset them by hand in CATIA.
Worried about the original fileIn safe mode (the default) originals are never overwritten; saving only goes to the working folder %USERPROFILE%\CATIA_MCP_Work. If in doubt, delete the working copy and create it again from the original.
Message COM_TIMEOUT or SESSION_BLOCKEDCATIA is probably showing a dialog – look in CATIA and close it. Until then CadPilot deliberately accepts no new commands.
CATIA does not respond at allEnd CATIA in the Task Manager (unsaved work is lost), start it again, then in VS Code “MCP: List Servers” → catia-v5 → Restart.
Copilot uses wrong parametersCadPilot rejects unknown parameters and names the allowed ones; Copilot usually corrects this itself.

5. Common set-up problems

MessageCause / solution
“Kein passendes Python … gefunden” (no suitable Python found)Install Python in the user profile (handbook, chapter 4), open a new command prompt.
“Invalid class string”CATIA is not registered for Automation – a one-time task for IT.
“This program is blocked by group policy”Python in the user profile is blocked (AppLocker) – only IT can solve this.
Copilot shows no CATIA toolsAgent mode selected? Server started? With company Copilot: policy “MCP servers in Copilot”.
“Failed to connect to CATIA V5”Start CATIA first; neither CATIA nor VS Code “Run as administrator”.

The complete table with proxy, offline installation and company policies is in the project guide (docs\ANLEITUNG_COPILOT.md, German) and in the live-test guide.

6. Reporting a problem

Please send:

Please do not send CAD files, customer or project data.

7. Removing CadPilot

  1. Stop the server in VS Code (“MCP: List Servers” → catia-v5 → Stop).
  2. Delete the CadPilot folder – it also contains the Python environment and the server settings.
  3. Check the working folder %USERPROFILE%\CATIA_MCP_Work, back up working copies, then delete it.
  4. Optional: uninstall Python via “Apps and features” and delete the cache %LOCALAPPDATA%\pip\Cache.

CadPilot creates no services, autostart or registry entries and installs nothing outside these folders.