Skip to content

Export Points Geo Set To XYZ

KaiUR edited this page May 21, 2026 · 4 revisions

Export Points — Geo Set To XYZ

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


Description

Exports all explicit (isolated/datum) points from a selected geometric set to an XYZ file in XYZIJK METRIC format. Coordinates are measured relative to the absolute axis system automatically — no axis selection is required. 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

Usage

  1. Open a CATPart document containing datum points
  2. Run the script
  3. Selection 1: Select the geometric set containing the points
  4. The XYZ file is created in the current working directory

Output

A tab-delimited XYZ file named after the selected geometric set (e.g. MyGeoSet.xyz):

XYZIJK     METRIC
PT_001	10.234567	5.123456	0.000000
PT_002	20.456789	5.123456	0.000000

Notes

  • Coordinates are always relative to the absolute axis — use Export Points Axis and Geo Set To XYZ if you need to measure relative to a custom axis
  • Only HybridShapePointExplicit (datum/isolated) points are exported — parametric points are skipped
  • Coordinates are rounded to 6 decimal places by default

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