Path#

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

Represents a path object.

Methods

Path.add_void(hole)

Add a void to the primitive.

Path.cast()

Cast the primitive object to the correct concrete type.

Path.create(layout, layer, net, width, ...)

Create a path.

Path.create_3d_comp()

Create a 3D composite model from an MCAD file.

Path.create_hfss()

Create an HFSS model from an MCAD file.

Path.create_stride()

Create a Stride model from an MCAD file.

Path.delete()

Delete the layout object.

Path.find_by_id(layout, uid)

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

Path.get_clip_info()

Get the data used to clip the path.

Path.get_end_cap_style()

Get end cap styles for the path.

Path.get_hfss_prop()

Get HFSS properties.

Path.get_product_property(prod_id, attr_id)

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

Path.get_product_property_ids(prod_id)

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

Path.make_zone_primitive(zone_id)

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

Path.remove_hfss_prop()

Remove HFSS properties.

Path.render(width, end_cap1, end_cap2, ...)

Render a path.

Path.set_clip_info(clipping_poly[, keep_inside])

Set the data used to clip the path.

Path.set_end_cap_style(end_cap1, end_cap2)

Set end cap styles for the path.

Path.set_hfss_prop(material, solve_inside)

Set HFSS properties.

Path.set_product_property(prod_id, attr_id, ...)

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

Attributes

Path.can_be_zone_primitive

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

Path.center_line

PolygonData: Center line for the path.

Path.component

ComponentGroup: Component of the Connectable object.

Path.corner_style

PathCornerType: Corner style of the path.

Path.edb_uid

int: Unique, persistent ID for the Connectable object.

Path.group

Group object.

Path.has_voids

bool: Flag indicating if a primitive has voids inside.

Path.id

int: Unique ID of the EDB object.

Path.is_mcad

bool: Flag indicating if this is an MCAD model.

Path.is_mcad_3d_comp

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

Path.is_mcad_hfss

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

Path.is_mcad_stride

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

Path.is_negative

bool: Flag indicating if the primitive is negative.

Path.is_null

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

Path.is_parameterized

bool: Whether the primitive is parametrized.

Path.is_void

bool: Flag indicating if a primitive is a void.

Path.is_zone_primitive

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

Path.layer

Layer: Layer that the primitive object is on.

Path.layout

Layout: Layout owning the object.

Path.layout_obj_type

Path.miter_ratio

Value: Miter ratio.

Path.msg

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

Path.net

Net: Net of the Connectable object.

Path.obj_type

LayoutObjType: Layout object type.

Path.owner

Primitive: Owner of the primitive object.

Path.polygon_data

PolygonData: Polygon data of this Path.

Path.primitive_type

PrimitiveType: Primitive type of the primitive.

Path.voids

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

Path.width

Value: Path width.