You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
as explained during a meeting, generating a conformal polygon based on net selection with EDB is very slow. Can go up to 30mn on very large board. During discussion if I understand correctly, this might come from the LayoutInstance manager which keeps refreshing primitives along the process. The idea would be to introduce a tag to speed this up and avoid refreshing during this process since geometries are not modified.
with launch_session(r"C:\Program Files\AnsysEM\v231\Win64", 50051):
edb = Database.open(r"C:\Data\E_Group\clean_edb_examples\Galileo_edb.aedb", False)
layout = edb.circuit_cells[0].layout
edb_components = [
cmp for cmp in edb.circuit_cells[0].layout.groups if cmp.name in ["U2A5", "U1B5"]
]
signal_nets = ["M_DQ<0>", "M_DQ<1>", "M_DQ<2>", "M_DQ<3>", "M_DQ<4>", "M_DQ<5>", "M_DQ<6>", "M_DQ<7>"]
reference_net = ["GND"]
included_nets = [net for net in layout.nets if net.name in signal_nets]
clipped_net = [net for net in layout.nets if net.name in reference_net]
expanded_extent = layout.expanded_extent(
nets=included_nets,
extent=ExtentType.CONFORMING,
expansion_factor=0.01,
expansion_unitless=False,
use_round_corner=True,
num_increments=1,
)
The text was updated successfully, but these errors were encountered:
Hi,
as explained during a meeting, generating a conformal polygon based on net selection with EDB is very slow. Can go up to 30mn on very large board. During discussion if I understand correctly, this might come from the LayoutInstance manager which keeps refreshing primitives along the process. The idea would be to introduce a tag to speed this up and avoid refreshing during this process since geometries are not modified.
with launch_session(r"C:\Program Files\AnsysEM\v231\Win64", 50051):
edb = Database.open(r"C:\Data\E_Group\clean_edb_examples\Galileo_edb.aedb", False)
layout = edb.circuit_cells[0].layout
edb_components = [
cmp for cmp in edb.circuit_cells[0].layout.groups if cmp.name in ["U2A5", "U1B5"]
]
signal_nets = ["M_DQ<0>", "M_DQ<1>", "M_DQ<2>", "M_DQ<3>", "M_DQ<4>", "M_DQ<5>", "M_DQ<6>", "M_DQ<7>"]
reference_net = ["GND"]
included_nets = [net for net in layout.nets if net.name in signal_nets]
clipped_net = [net for net in layout.nets if net.name in reference_net]
expanded_extent = layout.expanded_extent(
nets=included_nets,
extent=ExtentType.CONFORMING,
expansion_factor=0.01,
expansion_unitless=False,
use_round_corner=True,
num_increments=1,
)
The text was updated successfully, but these errors were encountered: