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:
- layer
str
orLayer
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). IfFalse
, vias are grouped by range (any vias within the specified maximum grouping distance of each other are grouped)- check_containment
boo
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.
- layer