BoardBendDef#

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

Represents a board bend definition instance.

Methods

BoardBendDef.add_void(hole)

Add a void to the primitive.

BoardBendDef.cast()

Cast the primitive object to the correct concrete type.

BoardBendDef.create(layout, zone_prim, ...)

Create a board bend definition.

BoardBendDef.create_3d_comp()

Create a 3D composite model from an MCAD file.

BoardBendDef.create_hfss()

Create an HFSS model from an MCAD file.

BoardBendDef.create_stride()

Create a Stride model from an MCAD file.

BoardBendDef.delete()

Delete the layout object.

BoardBendDef.find_by_id(layout, uid)

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

BoardBendDef.get_hfss_prop()

Get HFSS properties.

BoardBendDef.get_product_property(prod_id, ...)

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

BoardBendDef.get_product_property_ids(prod_id)

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

BoardBendDef.make_zone_primitive(zone_id)

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

BoardBendDef.remove_hfss_prop()

Remove HFSS properties.

BoardBendDef.set_hfss_prop(material, ...)

Set HFSS properties.

BoardBendDef.set_product_property(prod_id, ...)

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

Attributes

BoardBendDef.angle

ValueLike: Angle of the bend.

BoardBendDef.bend_middle

(Point2DLike, Point2DLike): Tuple of the bend middle based on starting and ending points.

BoardBendDef.bent_regions

list of PolygonData: Bent region polygons.

BoardBendDef.boundary_primitive

Primitive: Zone primitive the board bend is placed on.

BoardBendDef.can_be_zone_primitive

bool: Flag indicating if the primitive can be a zone.

BoardBendDef.component

ComponentGroup: Component of the Connectable object.

BoardBendDef.edb_uid

int: Unique, persistent ID for the Connectable object.

BoardBendDef.group

Group object.

BoardBendDef.has_voids

bool: Flag indicating if a primitive has voids inside.

BoardBendDef.id

int: Unique ID of the EDB object.

BoardBendDef.is_mcad

bool: Flag indicating if this is an MCAD model.

BoardBendDef.is_mcad_3d_comp

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

BoardBendDef.is_mcad_hfss

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

BoardBendDef.is_mcad_stride

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

BoardBendDef.is_negative

bool: Flag indicating if the primitive is negative.

BoardBendDef.is_null

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

BoardBendDef.is_parameterized

bool: Whether the primitive is parametrized.

BoardBendDef.is_void

bool: Flag indicating if a primitive is a void.

BoardBendDef.is_zone_primitive

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

BoardBendDef.layer

Layer: Layer that the primitive object is on.

BoardBendDef.layout

Layout: Layout owning the object.

BoardBendDef.layout_obj_type

BoardBendDef.msg

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

BoardBendDef.net

Net: Net of the Connectable object.

BoardBendDef.obj_type

LayoutObjType: Layout object type.

BoardBendDef.owner

Primitive: Owner of the primitive object.

BoardBendDef.primitive_type

PrimitiveType: Primitive type of the primitive.

BoardBendDef.radius

ValueLike: Radius of the bend.

BoardBendDef.voids

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