LayerCollection#

class ansys.edb.core.layer.layer_collection.LayerCollection(msg)#

Represents a layer collection.

Methods

LayerCollection.add_layer_above(...)

Add a new layer above the specified layer.

LayerCollection.add_layer_below(...)

Add a new layer below the specified layer.

LayerCollection.add_layer_bottom(layer_to_add)

Add a new layer to the bottom of the layer collection.

LayerCollection.add_layer_top(layer_to_add)

Add a new layer to the top of the layer collection.

LayerCollection.add_layers(layers)

Add a list of layers to the layer collection.

LayerCollection.add_stackup_layer_at_elevation(...)

Add a stackup layer at a user-specified elevation.

LayerCollection.add_via_layer(via_layer_to_add)

Add a via layer to the layer collection.

LayerCollection.add_zone_to_layer(layer, ...)

Set the zone to the layer and update the layer in the collection.

LayerCollection.clone()

Create a clone of the layer collection.

LayerCollection.create([mode])

Create a layer collection.

LayerCollection.find_by_name(layer_name)

Find a layer in the layer collection.

LayerCollection.get_layers([layer_filter])

Get a list of layers in the layer collection using a layer filter.

LayerCollection.get_product_property(...)

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

LayerCollection.get_product_property_ids(prod_id)

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

LayerCollection.get_top_bottom_stackup_layers(...)

Get the top and bottom stackup layers of a specific type and their elevations.

LayerCollection.get_zone_name(zone)

Get the name for a given zone.

LayerCollection.import_from_control_file(...)

Import layers from a control file and optional XML schema file.

LayerCollection.insert_zone([copy_zone])

Insert a zone.

LayerCollection.is_valid()

Determine if the layer collection is in a valid state.

LayerCollection.merge_dielectrics(layout, ...)

Merge the dielectric layers in a range of layers into one large dielectric layer.

LayerCollection.remove_zone(zone)

Remove a zone.

LayerCollection.set_product_property(...)

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

LayerCollection.set_zone_name(zone, name)

Set the name for a given zone.

LayerCollection.simplify_dielectrics_for_phi(...)

Split dielectric layers at the boundaries of signal layers and merge them.

Attributes

LayerCollection.id

int: Unique ID of the EDB object.

LayerCollection.is_null

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

LayerCollection.mode

LayerCollectionMode: Mode of the layer collection.

LayerCollection.msg

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

LayerCollection.zone_ids

list[int]: List of all zones in the layer collection.