ipkiss3.pcell.layout.elements.reference.SRef

class ipkiss3.pcell.layout.elements.reference.SRef(reference, position=(0.0, 0.0), transformation=None, **kwargs)

Single reference of a LayoutView

SRef elements are used to place a single reference to a (layout view of an) other PCell on your layout. You can specify a position to tell IPKISS where on your layout the reference should be placed.

Parameters:

name: optional

Unique name of the instance within the scope of the View/Cell

position: Coord2, optional

Position of the referenced Structure

transformation: GenericNoDistortTransform, optional

flatten: optional

if True, it will insert the references elements on export, rather than the reference itself

reference: _LayoutView, optional

owner: optional

link to the owner of the instance. In most cases this is automatically added by the _generate_instances method

positions: locked

See also

ARef

convex_hull()

returns the Shape object corresponding to the complex hull of this Element

Returns:Shape object

See also

Shape

flat_copy(level=-1)

Returns a flattened copy of the Element. (recursive)

Parameters:level : How many levels deep should the element be flattened. -1 means all levels (default)
Returns:ElementList object
move(position)

Moves this element over a given vector

Parameters:

position : Coord2 or tuple

Vector (x,y) for the translation

Returns:

This Element object

See also

Transformable

place(position, transformation=None)
size_info()

returns the SizeInfo object corresponding to the footprint of this element.

Returns:SizeInfo object

See also

SizeInfo