ElementList

class ipkiss3.all.ElementList

List of Layout Elements

dependencies()

Returns all the child structures (recursive)

Returns:
set of Views
get_instances()

Returns all the instances of child Views in this ElementList

Returns:
list of views
size_info()

returns the SizeInfo object corresponding to the footprint of all elements in the list.

Returns:
SizeInfo object

See also

SizeInfo
convex_hull()

returns the Shape object corresponding to the complex hull of all elements in the list

Returns:
Shape object

See also

Shape
move(position)

Moves all elements in the list over a given vector

Parameters:
positionCoord2 or tuple

Vector (x,y) for the translation

Returns:
This ElementList object

See also

Transformable
transform(transform)

Transforms all elements in the list

Parameters:
transformTransformation object
Returns:
This ElementList object

See also

Transformable
flat_copy(level=-1)

Returns a flattened copy of the Element List. (recursive)

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

See also

Library, ElementList
is_empty()

returns True if the content of the List is empty

data

A member which allows list values.

Assigning to a list creates a copy. The orginal list will remain unmodified. This is similar to the semantics of the assignment operator on the C++ STL container classes.