Skip to content

Navigation Menu

Sign in
Sign up

Insert Points Catia With Names Keep History

KaiUR edited this page Jun 3, 2026 · 4 revisions

Insert Points Catia With Names Keep History

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


Description

Imports named points from a text or CSV file into CATIA as live parametric point features in a new geometric set. Each point is given the name specified in the file. Results are left as parametric features rather than converted to datums. See Insert Points Catia Keep History if your file does not contain names.


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:

PT_001 10.0 5.0 2.5
PT_002 20.0 5.0 2.5
PT_003 30.0 5.0 0.0

CSV file (.csv) — comma separated:

PT_001,10.0,5.0,2.5
PT_002,20.0,5.0,2.5
PT_003,30.0,5.0,0.0

The first value on each line is the point name, followed by X, Y, Z. If a line contains only a name and two coordinates, Z is set to 0 automatically. Lines with fewer than three values are skipped.


Notes

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 によって変換されたページ (->オリジナル) /