Skip to content

Export Properties To CSV

KaiUR edited this page May 21, 2026 · 3 revisions

Export Properties To CSV

File: Any_Document_Scripts/Export_Properties_To_CSV.py
Version: 1.0
Document Type: Any (Part, Product, or Drawing)


Description

Exports all standard and user-defined properties from the active document to a CSV file. Standard properties (Part Number, Revision, Definition, Nomenclature, Description Reference) are read from the root product node. User-defined properties are read from the UserRefProperties COM collection. Works on CATPart, CATProduct, and CATDrawing documents.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
Open document Any

Usage

  1. Open any CATIA document
  2. Run the script
  3. The CSV is saved next to the document file (or to ~/Downloads if the document is unsaved)

Output

CSV file: <DocumentName>_Properties.csv

Column Content
Source Standard or User
Name Property name
Value Property value

Notes

  • Standard properties that are empty are still included with a blank value
  • User properties include all types: string, real, integer, and boolean
  • If the document has not been saved, the CSV is placed in the user's Downloads folder

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