Skip to content

Navigation Menu

Sign in
Sign up

Axis To Axis Keep History

KaiUR edited this page May 21, 2026 · 3 revisions

Axis To Axis Keep History

File: Part_Document_Scripts/Axis_To_Axis_Keep_History.py
Version: 1.0
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 a live parametric feature — the source shape is kept as an input and the transform can be edited after creation.


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 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_History is created
  • All results are live parametric features — they retain a link to the source geometry and the transform can be edited

Notes

  • 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)
  • Use this script when you need to keep the parametric history; use Axis To Axis Keep Name when you want isolated datums instead

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