Text#

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

Represents a text object.

Methods

Text.add_void(hole)

Add a void to the primitive.

Text.cast()

Cast the primitive object to the correct concrete type.

Text.create(layout, layer, center_x, ...)

Create a text object.

Text.create_3d_comp()

Create a 3D composite model from an MCAD file.

Text.create_hfss()

Create an HFSS model from an MCAD file.

Text.create_stride()

Create a Stride model from an MCAD file.

Text.delete()

Delete the layout object.

Text.find_by_id(layout, uid)

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

Text.get_hfss_prop()

Get HFSS properties.

Text.get_product_property(prod_id, attr_id)

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

Text.get_product_property_ids(prod_id)

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

Text.get_text_data()

Get the data for the text object.

Text.make_zone_primitive(zone_id)

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

Text.remove_hfss_prop()

Remove HFSS properties.

Text.set_hfss_prop(material, solve_inside)

Set HFSS properties.

Text.set_product_property(prod_id, attr_id, ...)

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

Text.set_text_data(center_x, center_y, text)

Set the data for the text object.

Attributes

Text.can_be_zone_primitive

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

Text.component

ComponentGroup: Component of the Connectable object.

Text.edb_uid

int: Unique, persistent ID for the Connectable object.

Text.group

Group object.

Text.has_voids

bool: Flag indicating if a primitive has voids inside.

Text.id

int: Unique ID of the EDB object.

Text.is_mcad

bool: Flag indicating if this is an MCAD model.

Text.is_mcad_3d_comp

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

Text.is_mcad_hfss

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

Text.is_mcad_stride

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

Text.is_negative

bool: Flag indicating if the primitive is negative.

Text.is_null

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

Text.is_parameterized

bool: Whether the primitive is parametrized.

Text.is_void

bool: Flag indicating if a primitive is a void.

Text.is_zone_primitive

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

Text.layer

Layer: Layer that the primitive object is on.

Text.layout

Layout: Layout owning the object.

Text.layout_obj_type

Text.msg

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

Text.net

Net: Net of the Connectable object.

Text.obj_type

LayoutObjType: Layout object type.

Text.owner

Primitive: Owner of the primitive object.

Text.primitive_type

PrimitiveType: Primitive type of the primitive.

Text.voids

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