EDBPrimitives#
- class pyaedt.edb_core.edb_data.primitives_data.EDBPrimitives(raw_primitive, core_app)[source]#
Manages EDB functionalities for a primitives. It Inherits EDB Object properties.
Examples
>>> from pyaedt import Edb >>> edb = Edb(myedb, edbversion="2021.2") >>> edb_prim = edb.core_primitives.primitives[0] >>> edb_prim.is_void # Class Property >>> edb_prim.IsVoid() # EDB Object Property
Methods
EDBPrimitives.add_void
(point_list)Add a void to current primitive.
EDBPrimitives.area
([include_voids])Return the total area.
Clone a primitive object with keeping same definition and location.
Convert path to polygon.
Delete this primitive.
EDBPrimitives.get_center_line
([to_string])Get the center line of the trace.
Get the closest arc midpoint of the primitive to the input data.
Get the closest point of the primitive to the input data.
Produce a list of all geometries physically connected to a given layout object.
EDBPrimitives.in_polygon
(point_data[, ...])Check if padstack Instance is in given polygon data.
EDBPrimitives.intersect
(primitives)Intersect active primitive with one or more primitives.
EDBPrimitives.intersection_type
(primitive)Get intersection type between actual primitive and another primitive or polygon data.
EDBPrimitives.is_arc
(point)Either if a point is an arc or not.
EDBPrimitives.is_intersecting
(primitive)Check if actual primitive and another primitive or polygon data intesects.
EDBPrimitives.points
([arc_segments])Return the list of points with arcs converted to segments.
Return a list of Edb points.
EDBPrimitives.subtract
(primitives)Subtract active primitive with one or more primitives.
EDBPrimitives.unite
(primitives)Unite active primitive with one or more primitives.
Attributes
Get the Primitive Arc Data.
Return the primitive bounding box points.
Return the primitive bounding box center coordinate.
Primitive ID.
Either if the primitive is a void or not.
Get the primitive edb layer object.
Get or Set the primitive layer name.
Get the longest arc.
Return EDB Net Object.
Get or Set the primitive net name.
Get the Primitive Polygon data object.
Get the longest arc.
Return the type of the primitive.
Return a list of voids of the given primitive if any.