capture_screenshot
Capture a Houdini viewport or pane tab image to disk for visual confirmation after changes, with optional settle time for Karma convergence.
Instructions
Capture a screenshot of the viewport or a specific pane tab.
The image is written to disk only; open output_path with your file
reader to look at it. Prefer get_geometry_info, get_node_info or
get_scene_summary unless visual confirmation is genuinely needed.
A Scene Viewer capture names the network it shows (viewer_network);
viewer_note says when that is a DOP network, drawn as the simulation's
objects rather than the SOP display.
Args: output_path: Image file path. Default: a new PNG in the temp dir. pane_name: Pane tab name. settle_seconds: Wait this long before capturing, without blocking Houdini, so a Karma viewport can converge after a change. Use this instead of a shell sleep between calls. Capped at 120.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pane_name | No | ||
| output_path | No | ||
| settle_seconds | No |