Skip to content

Part Document Scripts

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