Skip to content

Navigation Menu

Sign in
Sign up

Find And Select By Name

KaiUR edited this page May 21, 2026 · 5 revisions

Find And Select By Name

File: Any_Document_Scripts/Find_And_Select_By_Name.py
Version: 1.2
Document Type: Part, Product, or Process


Description

Prompts the user to enter a search string, then finds and selects all elements across the entire active document whose names contain that string. The count and names of all found elements are shown in a result dialog.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Required
Open document Part, Product, or Process

Usage

  1. Open any CATIA document
  2. Run the script
  3. A dialog appears — enter the search string and click OK
  4. All matching elements are selected in the document and a result dialog shows the count and names found

Notes

  • The search is case-insensitive and matches any element whose name contains the search string, not just exact matches
  • The search covers all element types across the entire document, not just hybrid shapes
  • If nothing is found the result dialog says so and the selection is cleared
  • After selecting all matches the spec tree is automatically centered on the first result

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