Polygon#
- class ansys.edb.core.primitive.primitive.Polygon(msg)#
Represents a polygon object.
Methods
Polygon.add_void
(hole)Add a void to the primitive.
Cast the primitive object to the correct concrete type.
Polygon.create
(layout, layer, net, polygon_data)Create a polygon.
Create a 3D composite model from an MCAD file.
Create an HFSS model from an MCAD file.
Create a Stride model from an MCAD file.
Delete the layout object.
Polygon.find_by_id
(layout, uid)Find a Connectable object by database ID in a given layout.
Get HFSS properties.
Polygon.get_product_property
(prod_id, attr_id)Get the product property of the layout object for a given product ID and attribute ID.
Polygon.get_product_property_ids
(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Polygon.make_zone_primitive
(zone_id)Make the primitive a zone primitive with a zone specified by the provided ID.
Remove HFSS properties.
Polygon.set_hfss_prop
(material, solve_inside)Set HFSS properties.
Polygon.set_product_property
(prod_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
Attributes
bool
: Flag indicating if a polygon can be a zone.ComponentGroup
: Component of the Connectable object.int
: Unique, persistent ID for the Connectable object.Group
object.bool
: Flag indicating if a primitive has voids inside.int
: Unique ID of the EDB object.bool
: Flag indicating if this is an MCAD model.bool
: Flag indicating if this is a 3D composite MCAD model.bool
: Flag indicating if this is an HFSS MCAD model.bool
: Flag indicating if this is a Stride MCAD model.bool
: Flag indicating if the primitive is negative.bool
: Flag indicating if the object exists in the database.bool
: Whether the primitive is parametrized.bool
: Flag indicating if a primitive is a void.bool
: Flag indicating if the primitive object is a zone.Layer
: Layer that the primitive object is on.Layout
: Layout owning the object.EDBObjMessage
: Protobuf message that represents the object's ID.Net
: Net of the Connectable object.LayoutObjType
: Layout object type.Primitive
: Owner of the primitive object.PolygonData
: Outer contour of the polygon.PrimitiveType
: Primitive type of the primitive.list
ofPrimitive
: List of void primitive objects inside the primitive.