export_design_preview_to_jpg#
- Icepak.export_design_preview_to_jpg(output_file: str | Path) bool#
Export design preview image to a JPG file.
- Parameters:
- output_file
str Full path and name for the JPG file.
- output_file
- Returns:
- bool
Truewhen successful,Falsewhen failed.
Examples
>>> from ansys.aedt.core import Hfss >>> app = Hfss() >>> app.export_design_preview_to_jpg(r"C:\temp\preview.jpg")