EdbPadstacks#

class pyedb.dotnet.edb_core.padstack.EdbPadstacks(p_edb)[source]#

Manages EDB methods for nets management accessible from Edb.padstacks property.

Examples

>>> from pyedb import Edb
>>> edbapp = Edb("myaedbfolder", edbversion="2021.2")
>>> edb_padstacks = edbapp.padstacks

Methods

EdbPadstacks.check_and_fix_via_plating([...])

Check for minimum via plating ration value, values found below the minimum one are replaced by default plating ratio.

EdbPadstacks.create([padstackname, ...])

Create a padstack.

EdbPadstacks.create_circular_padstack([...])

Create a circular padstack.

EdbPadstacks.create_coax_port(padstackinstance)

Create HFSS 3Dlayout coaxial lumped port on a pastack Requires to have solder ball defined before calling this method.

EdbPadstacks.delete_padstack_instances(net_names)

Delete padstack instances by net names.

EdbPadstacks.duplicate(target_padstack_name)

Duplicate a padstack.

EdbPadstacks.find_instance_by_id(value)

Find a padstack instance by database id.

EdbPadstacks.get_instances([name, pid, ...])

Get padstack instances by conditions.

EdbPadstacks.get_pad_parameters(pin, layername)

Get Padstack Parameters from Pin or Padstack Definition.

EdbPadstacks.get_padstack_instance_by_net_name(...)

Get a list of padstack instances by net name.

EdbPadstacks.get_padstack_instances_intersecting_bounding_box(...)

Returns the list of padstack instances ID intersecting a given bounding box and nets.

EdbPadstacks.get_padstack_instances_rtree_index([nets])

Returns padstack instances Rtree index.

EdbPadstacks.get_pinlist_from_component_and_net([...])

Retrieve pins given a component's reference designator and net name.

EdbPadstacks.get_reference_pins(positive_pin)

Search for reference pins using given criteria.

EdbPadstacks.get_via_instance_from_net([...])

Get the list for EDB vias from a net name list.

EdbPadstacks.int_to_geometry_type([val])

Convert an integer to an EDB.PadGeometryType.

EdbPadstacks.int_to_pad_type([val])

Convert an integer to an EDB.PadGeometryType.

EdbPadstacks.merge_via_along_lines([...])

Replace padstack instances along lines into a single polygon.

EdbPadstacks.place(position, definition_name)

Place a via.

EdbPadstacks.remove_pads_from_padstack(...)

Remove the Pad from a padstack on a specific layer by setting it as a 0 thickness circle.

EdbPadstacks.set_all_antipad_value(value)

Set all anti-pads from all pad-stack definition to the given value.

EdbPadstacks.set_pad_property(padstack_name)

Set pad and antipad properties of the padstack.

EdbPadstacks.set_solderball(padstackInst, ...)

Set solderball for the given PadstackInstance.

Attributes

EdbPadstacks.db

Db object.

EdbPadstacks.definitions

Padstack definitions.

EdbPadstacks.instances

Dictionary of all padstack instances (vias and pins).

EdbPadstacks.instances_by_name

Dictionary of all padstack instances (vias and pins) by name.

EdbPadstacks.pad_type

Return a PadType Enumerator.

EdbPadstacks.pingroups

All Layout Pin groups.

EdbPadstacks.pins

Dictionary of all pins instances (belonging to component).

EdbPadstacks.vias

Dictionary of all vias instances not belonging to component.