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.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.
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.
Return the primitive bounding box center coordinate.
Primitive ID.
Determine whether this primitive is negative.
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.
Get or Set the primitive net name.
Get the longest arc.
Return the type of the primitive.