list_conductor_layers#

Stackup.list_conductor_layers(project: str) list[SherlockStackupService_pb2.ListConductorLayersResponse.CCAConductorLayerProp]#

List CCA conductor layers.

Available Since: 2021R2

Parameters:

project (str) – Name of the Sherlock project.

Returns:

The conductor layers of all CCAs in the project.

Return type:

list[SherlockStackupService_pb2.ListConductorLayersResponse.CCAConductorLayerProp]

Example

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> sherlock.project.import_odb_archive(
    "ODB++ Tutorial.tgz",
    True,
    True,
    True,
    True,
    project="Test",
    cca_name="Card",
)
>>> conductorLayers = sherlock.stackup.list_conductor_layers(project="Tutorial")
>>> for layer in conductorLayers:
>>>     properties = layer.conductorLayerProps
>>>     for prop in properties:
>>>     print(f"{prop}")