Skip to content

Mirror Keep Name

KaiUR edited this page May 12, 2026 · 6 revisions

Mirror Keep Name

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


Description

Mirrors selected hybrid shapes about a plane using a CATIA Symmetry operation, 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 with hybrid shapes and an axis system
  2. Run the script
  3. Selection 1: Select the hybrid shapes to mirror — click OK when done
  4. Selection 2: Select a face of an axis system to define the mirror plane
  5. Mirrored shapes are created as datums in the current in-work geometric set with the same names as the source shapes

Output

  • Mirrored 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 Mirror_Keep_Name is created
  • All results are datums (isolated) — no parametric link to source geometry

Notes

  • The mirror plane must be defined by selecting a face of an axis system — selecting other geometry types will cause the script to exit with an error
  • The script supports Points (type 1), Curves (type 2), Lines (type 3), Circles (type 4), and Surfaces (type 5)
  • Source shapes are not deleted or modified
  • For mirroring all shapes in a geometric set at once use Mirror Keep Name And Structure

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