Circle#

class ansys.edb.core.primitive.primitive.Circle(msg)#

Represents a circle object.

Methods

Circle.add_void(hole)

Add a void to the primitive.

Circle.can_be_zone_primitive()

bool: Flag indicating if a circle can be a zone.

Circle.cast()

Cast the primitive object to the correct concrete type.

Circle.create(layout, layer, net, center_x, ...)

Create a circle.

Circle.create_3d_comp()

Create a 3D composite model from an MCAD file.

Circle.create_hfss()

Create an HFSS model from an MCAD file.

Circle.create_stride()

Create a Stride model from an MCAD file.

Circle.delete()

Delete the layout object.

Circle.find_by_id(layout, uid)

Find a Connectable object by database ID in a given layout.

Circle.get_hfss_prop()

Get HFSS properties.

Circle.get_parameters()

Get parameters of the circle.

Circle.get_product_property(prod_id, attr_id)

Get the product property of the layout object for a given product ID and attribute ID.

Circle.get_product_property_ids(prod_id)

Get a list of attribute IDs given a product ID for the layout object.

Circle.make_zone_primitive(zone_id)

Make the primitive a zone primitive with a zone specified by the provided ID.

Circle.remove_hfss_prop()

Remove HFSS properties.

Circle.render(center_x, center_y, radius, ...)

Render a circle.

Circle.set_hfss_prop(material, solve_inside)

Set HFSS properties.

Circle.set_parameters(center_x, center_y, radius)

Set parameters of the circle.

Circle.set_product_property(prod_id, ...)

Set the product property of the layout object for a given product ID and attribute ID.

Attributes

Circle.component

ComponentGroup: Component of the Connectable object.

Circle.edb_uid

int: Unique, persistent ID for the Connectable object.

Circle.group

Group object.

Circle.has_voids

bool: Flag indicating if a primitive has voids inside.

Circle.id

int: Unique ID of the EDB object.

Circle.is_mcad

bool: Flag indicating if this is an MCAD model.

Circle.is_mcad_3d_comp

bool: Flag indicating if this is a 3D composite MCAD model.

Circle.is_mcad_hfss

bool: Flag indicating if this is an HFSS MCAD model.

Circle.is_mcad_stride

bool: Flag indicating if this is a Stride MCAD model.

Circle.is_negative

bool: Flag indicating if the primitive is negative.

Circle.is_null

bool: Flag indicating if the object exists in the database.

Circle.is_parameterized

bool: Whether the primitive is parametrized.

Circle.is_void

bool: Flag indicating if a primitive is a void.

Circle.is_zone_primitive

bool: Flag indicating if the primitive object is a zone.

Circle.layer

Layer: Layer that the primitive object is on.

Circle.layout

Layout: Layout owning the object.

Circle.layout_obj_type

Circle.msg

EDBObjMessage: Protobuf message that represents the object's ID.

Circle.net

Net: Net of the Connectable object.

Circle.obj_type

LayoutObjType: Layout object type.

Circle.owner

Primitive: Owner of the primitive object.

Circle.polygon_data

PolygonData: Polygon data object of the circle.

Circle.primitive_type

PrimitiveType: Primitive type of the primitive.

Circle.voids

list of Primitive: List of void primitive objects inside the primitive.