Running the Script

After adding the information in the previous steps to the script, it is ready to run. You will need to use the Python executable that is contained in Ansys Dynamic Reporting. This executable contains the Ansys Dynamic Reporting libraries that are needed for these commands.

To run the script:

  1. Open a command prompt or shell.

  2. Navigate to the directory where you have saved the script file.

  3. Run:

    cpython clip_images.py

After running this new script, your Ansys Dynamic Reporting database will contain one image item for each section cut that you have created in the script, with corresponding tags that identify the X position of the cut and the variable the section cut is colored by (in this example, temperature).