Layer#
- class ansys.edb.core.layer.layer.Layer(msg)#
Provides the base class representing a layer.
Methods
Cast the layer object to the correct concrete type.
Layer.clone([copy_id])Create a clone of the layer.
Layer.create(name, lyr_type)Create a non-stackup layer.
Layer.get_product_property(prod_id, attr_it)Get the product property of the layer for a given product ID and attribute ID.
Layer.get_product_property_ids(prod_id)Get a list of attribute IDs for a given product ID for the layer.
Layer.is_in_zone(zone)Determine if the layer exists in the given zone.
Layer.set_is_in_zone(zone[, in_zone])Set whether the layer exists in a given zone.
Layer.set_product_property(prod_id, attr_it, ...)Set the product property of the layer for a given product ID and attribute ID.
Attributes
DrawOverride: Draw override of the layer.int: Unique ID of the EDB object.bool: Flag indicating if the object exists in the database.bool: Flag indicating if the layer is aStackupLayerinstance.bool: Flag indicating if the layer is aViaLayerinstance.int: Layer ID.bool: Flag indicating if the layer is locked.EDBObjMessage: Protobuf message that represents the object's ID.str: Name of the layer.TopBottomAssociation: Top-bottom association of the layer.int: Transparency value of the layer.LayerType: Type of the layer.int: Visibility mask of the layer.int: Zone index associated with the owning layer collection.