StackupLayer#

class ansys.edb.core.layer.stackup_layer.StackupLayer(msg)#

Represents a stackup layer.

Methods

StackupLayer.cast()

Cast the layer object to the correct concrete type.

StackupLayer.clone([copy_id])

Create a clone of the layer.

StackupLayer.create(name, layer_type, ...)

Create a stackup layer.

StackupLayer.get_fill_material([evaluated])

Get the name of the fill material of the layer.

StackupLayer.get_material([evaluated])

Get the name of the material of the layer.

StackupLayer.get_product_property(prod_id, ...)

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

StackupLayer.get_product_property_ids(prod_id)

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

StackupLayer.get_roughness_model(region)

Get the roughness model used by the layer.

StackupLayer.is_in_zone(zone)

Determine if the layer exists in the given zone.

StackupLayer.set_fill_material(...)

Set the name of the fill material of the layer.

StackupLayer.set_is_in_zone(zone[, in_zone])

Set whether the layer exists in a given zone.

StackupLayer.set_material(material_name)

Set the name of the material of the layer.

StackupLayer.set_product_property(prod_id, ...)

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

StackupLayer.set_roughness_model(...)

Set the roughness model used by the layer.

Attributes

StackupLayer.color

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

StackupLayer.draw_override

DrawOverride: Draw override of the layer.

StackupLayer.etch_factor

Value: Etch factor of the layer.

StackupLayer.etch_factor_enabled

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

StackupLayer.hfss_solver_properties

HFSSSolverProperties: HFSS solver properties of the layer.

StackupLayer.id

int: Unique ID of the EDB object.

StackupLayer.is_null

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

StackupLayer.is_stackup_layer

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

StackupLayer.is_via_layer

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

StackupLayer.layer_id

int: Layer ID.

StackupLayer.layout_obj_type

StackupLayer.locked

bool: Flag indicating if the layer is locked.

StackupLayer.lower_elevation

Value: Lower elevation value of the layer.

StackupLayer.msg

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

StackupLayer.name

str: Name of the layer.

StackupLayer.negative

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

StackupLayer.referencing_via_layer_ids

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

StackupLayer.roughness_enabled

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

StackupLayer.thickness

Value: Thickness value of the layer.

StackupLayer.top_bottom_association

TopBottomAssociation: Top-bottom association of the layer.

StackupLayer.transparency

int: Transparency value of the layer.

StackupLayer.type

LayerType: Type of the layer.

StackupLayer.upper_elevation

Value: Upper elevation value of the layer.

StackupLayer.use_solver_properties

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

StackupLayer.visibility_mask

int: Visibility mask of the layer.

StackupLayer.zone

int: Zone index associated with the owning layer collection.

StackupLayer.zones

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