EDBPrimitives#
- class pyedb.dotnet.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 pyedb import Edb >>> edb = Edb(myedb, edbversion="2021.2") >>> edb_prim = edb.modeler.primitives[0] >>> edb_prim.is_void # Class Property >>> edb_prim.IsVoid() # EDB Object Property
Methods
EDBPrimitives.area
([include_voids])Return the total area.
Convert path to polygon.
Delete this primitive.
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.
Get connected objects.
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.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.
Bounding box.
Return the primitive bounding box center coordinate.
Component connected to this object.
Primitive ID.
Determine whether this primitive is negative.
Flag indicating if this object is null.
Either if the primitive is a void or not.
Get the primitive edb layer object.
Get the primitive layer name.
Get the longest arc.
Name of the definition.
Net Object.
Get the primitive net name.
Return the type of the primitive.
Get the longest arc.
Return the type of the primitive.
list
ofPrimitive
: List of void primitive objects inside the primitive.