convert_primitives_to_vias#

Layout.convert_primitives_to_vias(primitives, is_pins=False)#

Convert a list of primitives into vias or pins.

Parameters:
primitiveslist of Primitive

List of primitives to convert.

is_pinsbool, default: False

Flag indicating whether to convert the provided primitives to pins or vias. The default is False, in which case the primitives will be converted to vias.