Net#

class ansys.edb.core.net.net.Net(msg)#

Represents a net.

Methods

Net.create(layout, name)

Create a net.

Net.delete()

Delete the layout object.

Net.find_by_name(layout, name)

Find a net by name in a given layout.

Net.get_product_property(prod_id, attr_id)

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

Net.get_product_property_ids(prod_id)

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

Net.set_product_property(prod_id, attr_id, ...)

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

Attributes

Net.extended_net

ExtendedNet or None: Extended net that the net belongs to.

Net.id

int: Unique ID of the EDB object.

Net.is_null

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

Net.is_power_ground

bool: Flag indicating if the net belongs to a power/ground NetClass instance.

Net.layout

Layout: Layout owning the object.

Net.layout_obj_type

Net.msg

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

Net.name

str: Name of the net.

Net.net_classes

list of NetClass: All net classes on the net.

Net.no_net_name

Net.obj_type

LayoutObjType: Layout object type.

Net.padstack_instances

list of PadstackInstance: All padstack instances on the net object instance.

Net.primitives

list of Primitive: All primitives on the net.

Net.terminal_instances

list of Layer: All terminal instances on the net object instance.

Net.terminals

list of Terminal: All terminal instances on the net object instance.