Skip to content

Update All Drawing Views

KaiUR edited this page May 28, 2026 · 1 revision

Update All Drawing Views

File: Drawing_Document_Scripts/Update_All_Drawing_Views.py
Version: 1.0
Document Type: Drawing


Description

Forces an update of all generative views across all sheets in the active CATDrawing document. Useful after the linked 3D model has been modified and drawing views are out of date. The script prints the number of sheets found before running the update so you can confirm the correct document is active.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Not required
Open document Drawing

Usage

  1. Open the CATDrawing document
  2. Run the script — no user input is required
  3. CATIA updates all generative views on all sheets

Notes

  • The script calls DrawingDocument.update(), which is equivalent to Edit → Links → Update All in CATIA
  • If the active document is not a CATDrawing, the script exits with an error message
  • Large drawings with many generative views may take several seconds to update

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