snap_primitives#
- Layout.snap_primitives(layer, tol='0.05um', check_connectivity=True)#
Snap primitives on the specified layer to touching geometry.
- Parameters:
- layer
str
orLayer
Layer containing the primitives to be snapped.
- tolValueLike
Tolerance for snapping primitives.
- check_connectivitybool
If
True
, the connectivity of primitives is checked and enforced to prevent short circuits in geometry connecting to the primitives. If false, primitives are grouped regardless of the connectivity of touching geometry.
- layer