PyEDB is a higher-level Pythonic interface to Ansys Electronics Data Base (EDB), enabling programmatic access to EDB databases for PCB/IC packaging design and simulation. Current version is 0.74.0, released under an active development cadence with monthly or bi-monthly releases.
pip install pyedbVerified import paths — ran on the pinned version, not inferred.
Opens an EDB database from a file path. Replace '2024.1' with your Ansys version.
Ensure AEDT is installed and licensed. For remote connections, start the gRPC server using 'aedt -grpc'.
Use 'Edb(edbpath=<path>)' without explicit version if environment variable 'ANSYSEM_VERSION' is set.
Use public methods only; avoid direct calls to 'edb.core.<something>'.
Verify license server (set 'ANSYSLMD_LICENSE_FILE' or 'ANSYS_EM_DESKTOP_LIC' env var) or install/start a license manager.
Set 'ANSYSEM_ROOT<version>' environment variable to the AEDT installation directory, e.g., 'ANSYSEM_ROOT241' for 2024 R1.
Use 'Edb.open_edb()' or 'Edb(edbpath=<path>)' to load an existing database. See documentation for layout-specific methods.