Skip to content

Export Tool List From Process

KaiUR edited this page May 21, 2026 · 4 revisions

Export Tool List From Process

File: Process_Document_Scripts/Export_Tool_List_From_Process.py
Version: 1.0
Document Type: CATProcess


Description

Exports all unique cutting tools found across all manufacturing programs in the active process document to a formatted Excel file. Each tool is listed once with its tool number, name, part operation, and the program it was first found in. Duplicate tools are not repeated.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.9.5
xlsxwriter Required
wxPython Not required
Open document CATProcess with tool changes

Usage

  1. Open a CATProcess document in CATIA containing tool changes
  2. Run the script — no user input is required
  3. An Excel file named Tool_List.xlsx is created in the current working directory and opens automatically

Output

An Excel file Tool_List.xlsx with one row per unique tool:

Tool Number Tool Name Part Operation Program Name
T01 10mm Ball Nose Part Operation.1 Program.1
T02 6mm Ball Nose Part Operation.1 Program.2

Notes

  • Requires pycatia >= 0.9.5
  • Tool uniqueness is determined by the full tool name including the tool number in brackets — two tools with the same name but different numbers are listed separately
  • If Tool_List.xlsx is already open in Excel the script will fail to write — close it first

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