NetClass#
- class ansys.edb.core.net.net_class.NetClass(msg)#
Represents a net class.
Methods
NetClass.add_net
(net)Add a net to the net class.
Determine if a net exists in the net class.
NetClass.create
(layout, name)Create a net.
Delete the layout object.
NetClass.find_by_name
(layout, name)Find a net class by name in a given layout.
NetClass.get_product_property
(prod_id, attr_id)Get the product property of the layout object for a given product ID and attribute ID.
NetClass.get_product_property_ids
(prod_id)Get a list of attribute IDs given a product ID for the layout object.
NetClass.remove_net
(net)Remove a net from the net class.
NetClass.set_product_property
(prod_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
Attributes
str
: Description of the net class.int
: Unique ID of the EDB object.bool
: Flag indicating if the object exists in the database.bool
: Flag indicating in the net class belongs to the power/groundNetClass
class.Layout
: Layout owning the object.EDBObjMessage
: Protobuf message that represents the object's ID.str
: Name of the net class.LayoutObjType
: Layout object type.