Rectangle#
- class ansys.edb.core.primitive.primitive.Rectangle(msg)#
Represents a rectangle object.
Methods
Rectangle.add_void
(hole)Add a void to the primitive.
Cast the primitive object to the correct concrete type.
Rectangle.create
(layout, layer, net, ...)Create a rectangle.
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.
Rectangle.find_by_id
(layout, uid)Find a Connectable object by database ID in a given layout.
Get HFSS properties.
Get coordinate parameters.
Rectangle.get_product_property
(prod_id, attr_id)Get the product property of the layout object for a given product ID and attribute ID.
Rectangle.get_product_property_ids
(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Rectangle.make_zone_primitive
(zone_id)Make the primitive a zone primitive with a zone specified by the provided ID.
Remove HFSS properties.
Rectangle.render
(rep_type, ...[, is_hole])Get the polygon data of a rectangle.
Rectangle.set_hfss_prop
(material, solve_inside)Set HFSS properties.
Rectangle.set_parameters
(rep_type, param1, ...)Set coordinate parameters.
Rectangle.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 the rectangle 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
: Polygon data object of the rectangle.PrimitiveType
: Primitive type of the primitive.list
ofPrimitive
: List of void primitive objects inside the primitive.