create_with_primitives#

classmethod ViaGroup.create_with_primitives(layout, primitives, is_persistent)#

Create one or more via groups with primitives.

Parameters:
layoutLayout

Layout to create the via groups in.

primitiveslist[Primitive]

List of primitives to use to create the via groups.

is_persistentbool

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

Returns:
list[ViaGroup]

List of newly created via groups.