Skip to content

Navigation Menu

Sign in
Sign up

Toggle Show Hide Geometric Set

KaiUR edited this page May 6, 2026 · 5 revisions

Toggle Show Hide Geometric Set

File: Any_Document_Scripts/Toggle_Show_Hide_Geometric_Set.py
Version: 1.1
Document Type: Part, Product, or Process


Description

Toggles the visibility of a selected geometric set and all its children. Each element is toggled based on its own current visibility state — if it is shown it will be hidden, and if it is hidden it will be shown.


Requirements

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

Usage

  1. Open a CATPart, CATProduct, or CATProcess document containing a geometric set
  2. Run the script
  3. Select the geometric set to toggle — click OK when done
  4. The geometric set and all elements inside it are toggled between shown and hidden

Notes

  • Each child element is toggled based on its own current visibility state, not the parent's — so elements that were already hidden before running the script will be shown, and vice versa
  • The toggle applies recursively to all child geometric sets and their contents
  • To hide or show all planes and axis systems across the whole document use Hide Planes And Axis Systems 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 によって変換されたページ (->オリジナル) /