convert_primitives_to_vias#

Layout.convert_primitives_to_vias(primitives, is_pins=False)#

Convert a list of primitives into vias or pins.

Parameters:
primitiveslist[Primitive]

List of primitives.

is_pinsbool, default: False

Whether the list consists of pins. The default is False, in which case the list consists of vias.