create#

classmethod PrimitiveInstanceCollection.create(layout, net, layer, geometry, positions)#

Create a primitive instance collection containing the specified geometry instantiated at the provided locations. All geometry will be created on the specified layer and net.

Parameters:
layoutLayout

Layout to create the primitive instance collection in.

netNetLike

Net that the primitive instance collection geometry will exist on.

layerLayerLike

Layer that the primitive instance collection geometry will exist on.

geometryPolygonData

The geometry that will be instantiated.

positionslist of Point2DLike

The points to instantiate the geometry at.

Returns:
PrimitiveInstanceCollection