EDB: plot nets with Matplotlib#
This example shows how you can use the
Edb class to plot a net or a layout.
Perform required imports#
Perform required imports, which includes importing a section.
import os import pyaedt
Download the AEDT file and copy it into the temporary folder.
pyaedt.Edb class, using EDB 2022 R2 and SI units.
edb = pyaedt.Edb(edbpath=targetfolder, edbversion="2022.2")
Plot custom set of nets colored by layer#
Plot a custom set of nets colored by layer (default).
Plot custom set of nets colored by nets#
Plot a custom set of nets colored by nets.
edb.core_nets.plot(["VREF", "V3P3_S0"], color_by_net=True)
Plot all nets on a layer colored by nets#
Plot all nets on a layer colored by nets
edb.core_nets.plot(None, ["TOP"], color_by_net=True, plot_components_on_top=True)
Total running time of the script: ( 0 minutes 19.463 seconds)