Skip to content

Part Document Scripts

KaiUR edited this page May 22, 2026 · 17 revisions

Part Document Scripts

Scripts in this category require an open CATPart document. They will not work on Product or Process documents unless stated otherwise.

Script Description
Axis To Axis Keep History Moves hybrid shapes from one axis system to another, preserving names and parametric history
Axis To Axis Keep History And Structure Axis-to-axis transformation on all shapes in a geometric set, preserving names, structure and parametric history
Axis To Axis Keep Name Moves hybrid shapes from one axis system to another, preserving names
Axis To Axis Keep Name And Structure Axis-to-axis transformation on all shapes in a geometric set, preserving names and structure
Batch Isolate Geometric Set Isolates every element in a geometric set as a datum in one operation
Check Duplicate Names In Geometric Set Scans a geometric set and reports any elements that share a name
Check Open Bodies Checks all solid bodies in the active part for open (zero-volume) geometry
Copy Parameters Between Parts Copies selected parameters from one open CATPart to another via a GUI dialog
Colour Code By Geometric Set Assigns a unique colour from an HSV palette to every shape in each child geometric set
Copy Geometric Set To New Part Copies a selected geometric set and all its contents into a new blank CATPart
Create Construction Planes Creates a series of evenly spaced offset planes from a reference plane
Create ISM OSM STEP Files Creates two STEP files from ISM and OSM surfaces
Create Spline From Coordinates Creates a GSD point set and spline from X Y (or X Y Z) coordinates loaded from a file or pasted into the dialog
Delete Deactivated Features Deletes all deactivated hybrid shapes inside a selected geometric set
Export 3D Annotations To CSV Exports all FTA 3D annotations from the active part to CSV
Export All Parameters To CSV Exports all parameters from the active part to CSV
Export Holes To CSV Exports all holes with type, diameter, depth, thread, and position to CSV
Export Curve Lengths Surface Areas To CSV Exports curve lengths (mm) and surface areas (mm²) from a geometric set to CSV
Export Geometric Set Structure To CSV Exports the full geometric set tree and its contents to CSV
Export Mass CoG Inertia To CSV Exports mass, centre of gravity and inertia tensor from solid bodies to CSV
Export Points Axis and Geo Set To CSV Exports points from a geometric set to CSV relative to a selected axis
Export Points Axis and Geo Set To XYZ Exports points from a geometric set to XYZ relative to a selected axis
Export Points Geo Set To CSV Exports points from a geometric set to CSV relative to the absolute axis
Export Points Geo Set To XYZ Exports points from a geometric set to XYZ relative to the absolute axis
Extract Boundary Curves Extracts boundary edges of a selected surface as datum curves
IGES Export Curve Axis Exports curves as IGES after moving them to the absolute axis
Insert Points Catia Imports points from a file into CATIA as datums
Insert Points Catia Keep History Imports points from a file into CATIA, preserving parametric history
Insert Points Catia With Names Imports named points from a file into CATIA as datums
Insert Points Catia With Names Keep History Imports named points from a file into CATIA, preserving parametric history
Join Explicit No Connect Joins surfaces or curves without checking for connexity
Join Explicit No Connect Curve Joins curves without checking for connexity
Join Explicit No Connect Surface Joins surfaces without checking for connexity
List Properties To CSV Exports name, type, colour, line weight, line type and opacity for all shapes in a geometric set to CSV
Match Properties In Geometric Set Applies the visual properties of a source element to all shapes in a selected geometric set
Measure Curve With 3 Points As Circle Measures the radius of a curve by fitting a 3-point circle
Measure Curve With 3 Points As Circle Keep Con Same as above but keeps the construction geometry
Measure Radius Surface Measures the radius of a surface by intersection and 3-point circle
Measure Radius Surface Keep Con Same as above but keeps the construction geometry
Measure Radius Surface Keep Con Auto Edge Measures the radius of all border edges of a surface automatically, keeping construction geometry
Mirror Keep History Mirrors hybrid shapes about a plane, preserving names and parametric history
Mirror Keep History And Structure Mirrors all shapes in a geometric set about a plane, preserving names, structure and parametric history
Mirror Keep Name Mirrors hybrid shapes about a plane, preserving names
Mirror Keep Name And Structure Mirrors all shapes in a geometric set about a plane, preserving names and structure
Publish Hybrid Shapes In Geometric Set Publishes all hybrid shapes in a selected geometric set
Reorder Geometric Set Alphabetically Sorts all elements inside a geometric set alphabetically by name
Rotate Angle Keep History Rotates hybrid shapes by an angle around an axis, preserving names and parametric history
Rotate Angle Keep History And Structure Rotates all shapes in a geometric set by an angle, preserving names, structure and parametric history
Rotate Angle Keep Name Rotates hybrid shapes by an angle around an axis, preserving names
Rotate Angle Keep Name And Structure Rotates all shapes in a geometric set by an angle, preserving names and structure
Rotate Three Points Keep History Rotates hybrid shapes using three points definition, preserving names and parametric history
Rotate Three Points Keep History And Structure Rotates all shapes in a geometric set using three points, preserving names, structure and parametric history
Rotate Three Points Keep Name Rotates hybrid shapes using three points definition, preserving names
Rotate Three Points Keep Name And Structure Rotates all shapes in a geometric set using three points, preserving names and structure
Scale Keep History Scales hybrid shapes about a centre point by a ratio, preserving names and parametric history
Scale Keep History And Structure Scales all shapes in a geometric set about a centre point by a ratio, preserving names, structure and parametric history
Scale Keep Name Scales hybrid shapes about a centre point by a ratio, preserving names
Scale Keep Name And Structure Scales all shapes in a geometric set about a centre point by a ratio, preserving names and structure
Select By Colour Selects all shapes in a geometric set whose colour matches a chosen source element
Spline Through Points In Geometric Set Creates a spline through all points in a selected geometric set
Translate Direction Distance Keep History Translates hybrid shapes by a direction and distance, preserving names and parametric history
Translate Direction Distance Keep History And Structure Translates all shapes in a geometric set by direction and distance, preserving names, structure and parametric history
Translate Direction Distance Keep Name Translates hybrid shapes by a direction and distance, preserving names
Translate Direction Distance Keep Name And Structure Translates all shapes in a geometric set by direction and distance, preserving names and structure

Requirements for all scripts in this category:

  • CATIA V5 running with an open CATPart document
  • Python >= 3.10
  • pycatia >= 0.8.3

Some scripts also work when a Part is open inside a Product or Process — see individual script pages for details.

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