1.5. Exporting an AVZ File to a PNG File

You can use the command line to export the default view in an AVZ file to a .png file. The default view refers to the view that is displayed when you first open an .avz file in Ansys Viewer.

  1. Open a command prompt in the Ansys Viewer installation directory. For example,

    C:\Program Files\ANSYS Inc\v242\ANSYSViewer

  2. Issue the following command, replacing the filepath and file.avz as appropriate:

    ANSYSViewer.exe -p filepath\file.avz

    For example:

    C:\Program Files\ANSYS Inc\v242\ANSYSViewer>ANSYSViewer.exe -p C:\Output\AVZ\EngineV8.avz

The .png file is generated in the folder that contains the source .avz file.


Note:  You can also use the Save Image action in Ansys Viewer to save the current view to a .png file. See Saving a View to a PNG File.