Skip to content

Navigation Menu

Sign in
Sign up

Insert Points Catia With Names

KaiUR edited this page Jun 3, 2026 · 6 revisions

Insert Points Catia With Names

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


Description

Imports named points from a text or CSV file into CATIA as datum points in a new geometric set. Each point is given the name specified in the file. See Insert Points Catia 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

  • Points are created as isolated datums — no parametric link to the coordinate values
  • There is no error correction beyond skipping short lines — ensure your file is clean before importing
  • For points without names use Insert Points Catia

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