Skip to content

Export 3D Annotations To CSV

KaiUR edited this page May 22, 2026 · 4 revisions

Export 3D Annotations To CSV

File: Part_Document_Scripts/Export_3D_Annotations_To_CSV.py
Version: 1.1
Document Type: Part


Description

Exports all FTA (Functional Tolerancing and Annotation) 3D annotations from the active CATPart to a CSV file. The script uses the pycatia Annotation wrapper to iterate every annotation in each annotation set, recording its name, type string, and text content. If no FTA annotations are present, the script exits cleanly without creating a file.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
Open document Part
Optional licence FTA workbench licence (required to create FTA annotations, not to read them)

Usage

  1. Open a CATPart containing FTA 3D annotations
  2. Run the script
  3. The CSV is saved next to the CATPart file (or to ~/Downloads if unsaved)

Output

CSV file: <PartName>_3D_Annotations.csv

Column Content
Annotation Set Name of the annotation set
Name Annotation object name
Type FTA type string returned by the pycatia Annotation.type property (e.g. FTA_Text, FTA_Flatness, FTA_Dimension)
Text Text content of the annotation

Notes

  • Annotations with no readable text content are exported with a blank Text field
  • The FTA workbench licence is only required to author annotations, not to read them
  • If no annotation sets are found the script prints a message and exits without creating a file

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