Skip to content

Export Resource List

KaiUR edited this page May 21, 2026 · 4 revisions

Export Resource List

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


Description

Exports the names of all resources in a process document to a CSV file. The output file is created in the same directory as the script.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.9.5
wxPython Not required
Open document CATProcess with resources

Usage

  1. Open a CATProcess document containing resources
  2. Run the script
  3. A file named Resource_list.csv is created in the current working directory

Output

A CSV file Resource_list.csv with one resource name per line:

ToolHolder_A,
Fixture_B,
Robot_C,

Notes

  • Requires pycatia >= 0.9.5
  • If Resource_list.csv is already open in another application the script will print a permission error and exit
  • The script exports the reference product name of each resource, not the instance name

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