save_snapshot#
- Viewport.save_snapshot(file_path: str | Path, settings: SnapshotSettings | None = None) None#
Take a snapshot of this viewport and save it to PNG.
- Parameters:
- file_path
str|Path Path to save the PNG image.
- settings
SnapshotSettings,optional Snapshot settings to control what elements appear in the image (timestamp, logo, legend, solution name, etc.). If None, uses server defaults.
- file_path