DifferentialPair#

class ansys.edb.core.net.differential_pair.DifferentialPair(msg)#

Represents a differential pair.

Methods

DifferentialPair.add_net(net)

Add a net.

DifferentialPair.contains_net(net)

Determine if a net exists in the net class.

DifferentialPair.create(layout, name[, ...])

Create a differential pair.

DifferentialPair.delete()

Delete the layout object.

DifferentialPair.find_by_name(layout, name)

Find a differential pair by name in a given layout.

DifferentialPair.get_product_property(...)

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

DifferentialPair.get_product_property_ids(prod_id)

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

DifferentialPair.remove_net(net)

Remove a net.

DifferentialPair.set_product_property(...)

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

Attributes

DifferentialPair.description

str : Description of the net class.

DifferentialPair.differential_pair

tuple(Net, Net): Nets (positive, negative) in the differential pair.

DifferentialPair.id

int: Unique ID of the EDB object.

DifferentialPair.is_null

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

DifferentialPair.is_power_ground

Flag indicating if the new is power/ground.

DifferentialPair.layout

Layout: Layout owning the object.

DifferentialPair.layout_obj_type

DifferentialPair.msg

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

DifferentialPair.name

str: Name of the net class.

DifferentialPair.negative_net

Net: Negative net in the differential pair.

DifferentialPair.nets

This property is invalid for a differential pair.

DifferentialPair.obj_type

LayoutObjType: Layout object type.

DifferentialPair.positive_net

Net: Positive net in the differential pair.