19.2. Capturing an Image

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.

19.2.1. Interactive

Follow these steps to capture a still image using the report generator GUI:

  1. Click on the Image Capture button.  

    Result: The Image Capture dialog appears.

  2. 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.)

  3. Click on the OK 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"'

19.2.2. Batch

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"'

Release 18.2 - © ANSYS, Inc. All rights reserved.