Skip to content

How to get per-layer information from a padstack instance's padstack usage? #6215

Answered by isaacwaldron
isaacwaldron asked this question in Q&A
Discussion options

You must be logged in to vote

There isn't a single function to do this, but below is an example script that extracts this information for the first ten padstack instances in a design. The 'parameters' dictionary contents will change depending on the shape type (e.g. circle, rectangle, etc.), please see EDBPadProperties.parameters for details.

from pathlib import Path
from ansys.aedt.core import Hfss3dLayout
from ansys.aedt.core.examples.downloads import download_aedb
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadProperties, EDBPadstackInstance


HERE = Path(__file__).parent


aedb_path = download_aedb(HERE)
edb_def_path = (Path(aedb_path) / "edb.def").as_posix()


def _pad_data_to_dict(pad_data: EDBP…

Replies: 1 comment

Comment options

isaacwaldron
May 29, 2025
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by isaacwaldron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant