catia_screenshot
Capture the CATIA window or only the 3D view to a PNG/JPG file for reports and verification. Use window mode for full UI, viewer mode for geometry only.
Instructions
Capture CATIA. mode='window' (default): the whole CATIA window, specification tree included, as PNG — rendered by CATIA itself, so it is correct even when CATIA is behind other windows (what report screenshots need). mode='viewer': only the 3D view through CATIA's CaptureToFile (JPG/BMP/TIFF; a .png path becomes .jpg).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | window | |
| file_path | Yes | Output image path (e.g., 'C:/screenshots/part.png') |