ViaLayer#

class ansys.edb.core.layer.via_layer.ViaLayer(msg)#

Represents a via layer.

Methods

ViaLayer.cast()

Cast the layer object to the correct concrete type.

ViaLayer.clone([copy_id])

Create a clone of the layer.

ViaLayer.create(name, lr_layer, ur_layer, ...)

Create a via layer.

ViaLayer.get_fill_material([evaluated])

Get the name of the fill material of the layer.

ViaLayer.get_material([evaluated])

Get the name of the material of the layer.

ViaLayer.get_product_property(prod_id, attr_it)

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

ViaLayer.get_product_property_ids(prod_id)

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

ViaLayer.get_ref_layer_name(upper_ref)

Get the name of the reference layer of the via layer.

ViaLayer.get_roughness_model(region)

Get the roughness model used by the layer.

ViaLayer.is_in_zone(zone)

Determine if the layer exists in the given zone.

ViaLayer.set_fill_material(fill_material_name)

Set the name of the fill material of the layer.

ViaLayer.set_is_in_zone(zone[, in_zone])

Set whether the layer exists in a given zone.

ViaLayer.set_material(material_name)

Set the name of the material of the layer.

ViaLayer.set_product_property(prod_id, ...)

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

ViaLayer.set_ref_layer(ref_layer, upper_ref)

Set the reference layer of the via layer.

ViaLayer.set_roughness_model(...)

Set the roughness model used by the layer.

Attributes

ViaLayer.color

tuple[int, int, int]: Color of the layer in (R,G,B) format.

ViaLayer.draw_override

DrawOverride: Draw override of the layer.

ViaLayer.etch_factor

Value: Etch factor of the layer.

ViaLayer.etch_factor_enabled

bool: Flag indicating if an etch factor is used by the layer.

ViaLayer.hfss_solver_properties

HFSSSolverProperties: HFSS solver properties of the layer.

ViaLayer.id

int: Unique ID of the EDB object.

ViaLayer.is_null

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

ViaLayer.is_stackup_layer

bool: Flag indicating if the layer is a StackupLayer instance.

ViaLayer.is_via_layer

bool: Flag indicating if the layer is a ViaLayer instance.

ViaLayer.layer_id

int: Layer ID.

ViaLayer.layout_obj_type

ViaLayer.locked

bool: Flag indicating if the layer is locked.

ViaLayer.lower_elevation

Value: Lower elevation value of the layer.

ViaLayer.msg

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

ViaLayer.name

str: Name of the layer.

ViaLayer.negative

bool: Flag indicating if the layer is a negative layer.

ViaLayer.referencing_via_layer_ids

list[int]: Layer IDs for all via layers referencing the layer.

ViaLayer.roughness_enabled

bool: Flag indicating if roughness models are used by the layer.

ViaLayer.thickness

Value: Thickness value of the layer.

ViaLayer.top_bottom_association

TopBottomAssociation: Top-bottom association of the layer.

ViaLayer.transparency

int: Transparency value of the layer.

ViaLayer.type

LayerType: Type of the layer.

ViaLayer.upper_elevation

Value: Upper elevation value of the layer.

ViaLayer.use_solver_properties

bool: Flag indicating if solver properties are used by the layer.

ViaLayer.visibility_mask

int: Visibility mask of the layer.

ViaLayer.zone

int: Zone index associated with the owning layer collection.

ViaLayer.zones

list[int]: IDs of all zones containing the layer.