Application and solvers#

The PyAEDT API includes classes for different applications available in Ansys Electronics Desktop (AEDT). You must initialize AEDT to get access to all PyAEDT modules and methods.

Ansys Electronics Desktop (AEDT) is a platform that enables true electronics system design.

Available PyAEDT apps are:

ansys.aedt.core.desktop.Desktop(*args, **kwargs)

Provides the Ansys Electronics Desktop (AEDT) interface.

ansys.aedt.core.hfss.Hfss([project, design, ...])

Provides the HFSS application interface.

ansys.aedt.core.q3d.Q3d([project, design, ...])

Provides the Q3D app interface.

ansys.aedt.core.q3d.Q2d([project, design, ...])

Provides the Q2D app interface.

ansys.aedt.core.maxwell.Maxwell2d([project, ...])

Provides the Maxwell 2D app interface.

ansys.aedt.core.maxwell.Maxwell3d([project, ...])

Provides the Maxwell 3D app interface.

ansys.aedt.core.icepak.Icepak([project, ...])

Provides the Icepak application interface.

ansys.aedt.core.hfss3dlayout.Hfss3dLayout([...])

Provides the HFSS 3D Layout application interface.

ansys.aedt.core.mechanical.Mechanical([...])

Provides the Mechanical application interface.

ansys.aedt.core.rmxprt.Rmxprt([project, ...])

Provides the RMxprt app interface.

ansys.aedt.core.circuit.Circuit([project, ...])

Provides the Circuit application interface.

ansys.aedt.core.maxwellcircuit.MaxwellCircuit([...])

Provide the Maxwell Circuit application interface.

ansys.aedt.core.emit.Emit([project, design, ...])

Provides the EMIT application interface.

ansys.aedt.core.twinbuilder.TwinBuilder([...])

Provides the Twin Builder application interface.

ansys.aedt.core.filtersolutions.FilterSolutions([...])

Provides the Filter design application interface.

All other classes and methods are inherited into the app class. AEDT, which is also referred to as the desktop app, is implicitly launched in any PyAEDT app. Before accessing a PyAEDT app, the desktop app must be launched and initialized. The desktop app can be explicitly or implicitly initialized as in the following examples.

Example with Desktop class explicit initialization:

from ansys.aedt.core import launch_desktop, Circuit
d = launch_desktop(specified_version="2023.1",
                   non_graphical=False,
                   new_desktop_session=True,
                   close_on_exit=True,
                   student_version=False):
 circuit = Circuit()
 ...
 # Any error here will be caught by Desktop.
 ...
 d.release_desktop()

Example with Desktop class implicit initialization:

from ansys.aedt.core import Circuit
circuit = Circuit(specified_version="2023.1",
                  non_graphical=False,
                  new_desktop_session=True,
                  close_on_exit=True,
                  student_version=False):
 circuit = Circuit()
 ...
 # Any error here will be caught by Desktop.
 ...
 circuit.release_desktop()