Skip to content

Navigation Menu

Sign in
Sign up

Export Points Axis and Geo Set To CSV

KaiUR edited this page Jun 3, 2026 · 5 revisions

Export Points — Axis and Geo Set To CSV

File: Part_Document_Scripts/Export_Points_Select_Axis_and_Geo_Set_To_CSV.py
Version: 1.3
Document Type: Part


Description

Exports all explicit (isolated/datum) points from a selected geometric set to a CSV file. Point coordinates are measured relative to a user-selected axis system. Point names from CATIA are preserved in the output file.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Not required
Open document Part containing datum points and an axis system

Usage

  1. Open a CATPart document containing datum points and an axis system
  2. Run the script
  3. Selection 1: Select the axis system to measure relative to

    The axis system must be in the Axis Systems collection (not inside a geometric set)

  4. Selection 2: Select the geometric set containing the points
  5. The CSV file is created in the current working directory

Output

A CSV file named after the selected geometric set (e.g. MyGeoSet.csv):

Point Name,X,Y,Z
PT_001,10.234567,5.123456,0.000000
PT_002,20.456789,5.123456,0.000000

Notes

  • Only HybridShapePointExplicit (datum/isolated) points are exported — parametric points are skipped
  • Coordinates are rounded to 6 decimal places by default
  • The axis system must not be inside a geometric set — it must be at the top-level Axis Systems collection

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

AltStyle によって変換されたページ (->オリジナル) /