Skip to content

Navigation Menu

Sign in
Sign up

Axis To Axis Keep Name

KaiUR edited this page May 5, 2026 · 6 revisions

Axis To Axis Keep Name

File: Part_Document_Scripts/Axis_To_Axis_Keep_Name.py
Version: 1.1
Document Type: Part (also works with Part inside Product or Process)


Description

Moves hybrid shapes from one axis system to another using a CATIA Axis-to-Axis transformation, while preserving the original names of all selected shapes. The result is created as a datum (isolated) so it has no parametric link to the source geometry.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Not required
Open document Part, or Part inside Product/Process

Usage

  1. Open a CATPart document (or a Product/Process containing a part) with hybrid shapes and at least two axis systems
  2. Run the script
  3. Selection 1: Select the hybrid shapes to move — click OK when done
  4. Selection 2: Select the reference axis system (the axis the shapes are currently aligned to)
  5. Selection 3: Select the target axis system (the axis to move the shapes to)
  6. The script creates the transformed shapes as datums in the current in-work geometric set, with the same names as the source shapes

Output

  • Transformed shapes are added to the current in-work geometric set
  • If the in-work object is not a geometric set, a new geometric set named Axis_To_Axis_Keep_Name is created
  • All results are datums (isolated) — no parametric link to source geometry

Notes

  • Both curves and surfaces are supported
  • The source shapes are not deleted or modified
  • The script supports Points (type 1), Curves (type 2), Lines (type 3), Circles (type 4), and Surfaces (type 5)

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