group_vias#

Layout.group_vias(layer, max_grouping_distance='100um', persistent_vias=False, group_by_proximity=True, check_containment=True)#

Create via groups from the primitives on the specified layer.

Parameters:
layerstr or Layer

Layer containing the primitives to be grouped.

max_grouping_distanceValueLike

Maximum distance between vias in a via group .

persistent_viasbool

Whether to preserve primitives during via group creation. If False primitives are deleted during via group creation.

group_by_proximitybool

If True, vias are grouped by proximity (relative position to each other). If False, vias are grouped by range (any vias within the specified maximum grouping distance of each other are grouped)

check_containmentboo

If True, the connectivity of via groups is checked and enforced to prevent short circuits in geometry connecting to the via group. If false, vias are grouped regardless of the connectivity of touching geometry.