export_to_json#

Setup3DLayout.export_to_json(file_path: str, overwrite: bool = False) bool#

Export all setup properties into a json file.

Parameters:
file_pathstr

File path of the json file.

overwritebool, optional

Whether to overwrite the file if it already exists.

Examples

>>> from ansys.aedt.core import Hfss3dLayout
>>> h3d = Hfss3dLayout()
>>> setup = h3d.create_setup()
>>> setup.export_to_json(file_path="example.json"