Replies: 1 comment
-
from pyedb import Edb
from ansys.aedt.core import generate_unique_folder_name
from ansys.aedt.core.downloads import download_file
output_project = r"D:\Temp\demo.aedb"
temp_folder = generate_unique_folder_name()
targetfile = download_file("edb/ANSYS-HSD_V1.aedb", destination=temp_folder)
ansys_version = "2ß25.1"
edb = Edb(edbpath=targetfile, edbversion=ansys_version)
for net_name, net in edb.nets.power.items():
if net.is_power_ground and not net_name.lower() == "gnd":
net.is_power_ground = False
edb.save()
edb.close() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How could I to set the reference net only the GND net?


Most of time it has several nets in it:
I want to use the Pyedb to set only GND in the Power/Ground nets identification list.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions