pyaedt.edb_core.EDB_Data.EDBPrimitives

class pyaedt.edb_core.EDB_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.delete()

Delete this primtive.

EDBPrimitives.is_arc(point)

Either if a point is an arc or not.

EDBPrimitives.points([arc_segments])

Return the list of points with arcs converted to segments.

EDBPrimitives.points_raw()

Return a list of Edb points.

Attributes

EDBPrimitives.is_void

Either if the primitive is a void or not.

EDBPrimitives.layer

Get the primitive edb layer object.

EDBPrimitives.layer_name

Get or Set the primitive layer name.

EDBPrimitives.net

Return EDB Net Object.

EDBPrimitives.net_name

Get or Set the primitive net name.

EDBPrimitives.type

Return the type of the primitive. Allowed outputs are “Circle”, “Rectangle”,`”Polygon”,”Path”,”Bondwire”`.

EDBPrimitives.voids

Return a list of voids of the given primitive if any.