Skip to main content

ACP in-app scripting API 2026 R1

save_snapshot

Last update: 16.07.2026

Scene.save_snapshot(path, width=None, height=None, draw_background=False)

Create a snapshot of the scene.

Parameters

  • path: File path.
  • width: Width in pixels of the snapshot.
  • height: Height in pixels of the snapshot.
  • draw_background: Boolean for whether to draw the background. If ‘False’, the background is white.

Connect with Ansys