This section describes how to capture and store a still image, either interactively or within a batch run.
The report generator saves images to the images subdirectory of
your specified report directory. The name of each file is
imagen.png, where
n is a sequential numeric identifier beginning at 1 and
incrementing as you capture additional images.
Follow these steps to capture a still image using the report generator GUI:
Click on the button.
Result: The Image Capture dialog appears.
Specify a caption for the captured image (for example, “Pentagonal Prism”).
The caption can contain APDL parameters in the format %parm%. (Specify
“%%” if you want to display the “%” character in
your caption.)
Click on the button.
Result: The report generator issues this report command to the program and saves the image to your report directory:
~eui,'ansys::report::imagecapture "caption"'
The following line must appear near the beginning of your batch code before any report commands:
~eui,'package require ansys'
To capture a still image via a batch run, insert this report command at the point in the run where you want to capture an image:
~eui,'ansys::report::imagecapture "caption"'