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:
- layout
Layout
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.
- geometry
PolygonData
The geometry that will be instantiated.
- positions
list
of Point2DLike The points to instantiate the geometry at.
- layout
- Returns: