Skip to content

Insert Points Catia

KaiUR edited this page May 5, 2026 · 6 revisions

Insert Points Catia

File: Part_Document_Scripts/Insert_Points_Catia.py
Version: 1.0
Document Type: Part


Description

Imports points from a text or CSV file into CATIA as explicit (datum) points in a new geometric set. This script does not support point names — all points are created with default CATIA names. See Insert Points Catia With Names if you need named points.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Required
Open document Part

Usage

  1. Open a CATPart document
  2. Run the script
  3. A file browser dialog appears — select your TXT or CSV file
  4. Points are created in a new geometric set named Point Inport

Input File Format

Text file (.txt) — space separated:

10.0 5.0 2.5
20.0 5.0 2.5
30.0 5.0 0.0

CSV file (.csv) — comma separated:

10.0,5.0,2.5
20.0,5.0,2.5
30.0,5.0,0.0

If a line contains only two values (X and Y), Z is set to 0 automatically. Lines with fewer than two values are skipped.


Notes

  • Points are created as parametric (non-datum) points — isolate them manually if needed
  • There is no error correction beyond skipping short lines — ensure your file is clean before importing
  • For points with names use Insert Points Catia With Names

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