Report configuration file#

The report configuration file allows to create a report based on a JSON file or a dictionary of properties.

This code shows how to create the JSON file:

from ansys.aedt.core import Hfss
hfss = Hfss()
compfile = hfss.components3d["Dipole_Antenna_DM"]
geometryparams = hfss.get_components3d_vars("Dipole_Antenna_DM")
hfss.modeler.insert_3d_component(compfile, geometryparams)
hfss.create_setup()
filename = "hfss_report_example.json"
hfss.post.create_report_from_configuration(input_file=filename)
hfss.release_desktop()

File structure example:

HFSS report example

For a practical demonstration, see the Report configuration file example