read_design_data#
- Maxwell2d.read_design_data()#
Read back the design data as a dictionary.
- Returns:
dict
Dictionary of design data.
Examples
After generating design data and storing it as .json file, retrieve it as a dictionary.
>>> from ansys.aedt.core import Maxwell2d >>> m2d = Maxwell2d(solution_type="Transient") >>> m2d["width"] = "10mm" >>> m2d["height"] = "15mm" >>> m2d.modeler.create_rectangle(origin=[0, 0, 0], sizes=["width", "height"]) >>> m2d.generate_design_data() >>> data = m2d.read_design_data() >>> m2d.release_desktop(True, True)