pyaedt.edb_core.layout.EdbLayout#
- class pyaedt.edb_core.layout.EdbLayout(p_edb)[source]#
Manages EDB methods for primitives management accessible from Edb.core_primitives property.
Examples
>>> from pyaedt import Edb >>> edbapp = Edb("myaedbfolder", edbversion="2021.2") >>> edb_layout = edbapp.core_primitives
Methods
EdbLayout.add_void
(shape, void_shape)Add a void into a shape.
EdbLayout.create_path
(path_list, layer_name)Create a path based on a list of points.
EdbLayout.create_polygon
(main_shape, layer_name)Create a polygon based on a list of points and voids.
EdbLayout.create_rectangle
(layer_name[, ...])Create rectangle.
EdbLayout.create_trace
(path_list, layer_name)Create a trace based on a list of points.
EdbLayout.defeature_polygon
(setup_info, poly)Defeature the polygon based on the maximum surface deviation criteria.
Fix issues when circle void are clipped due to a bug in EDB.
Return EDBStatistics object from a layout.
EdbLayout.get_polygon_bounding_box
(polygon)Retrieve a polygon bounding box.
EdbLayout.get_polygon_points
(polygon)Retrieve polygon points.
EdbLayout.get_polygons_by_layer
(layer_name)Retrieve polygons by a layer.
EdbLayout.get_primitives
([net_name, ...])Get primitives by conditions.
EdbLayout.parametrize_polygon
(polygon, ...)Parametrize pieces of a polygon based on another polygon.
EdbLayout.parametrize_trace_width
(nets_name)Parametrize a Trace on specific layer or all stackup.
EdbLayout.setup_net_classes
([simulation_setup])Define nets listed as power ground nets in the
simulation_setup
object.Convert a shape to polygon data.
Try to unite all Polygons on specified layer.
Update a primitives list from the EDB database.
Attributes
Bondwires.
Circles.
Db object.
Dictionary of layers.
Paths.
Polygons.
Primitives with layer names as keys.
Primitives.
Rectangles.