list_conductor_layers#

Stackup.list_conductor_layers(project)#

List CCA conductor layers.

Available Since: 2021R2

Parameters:
project: str

Name of the Sherlock project.

Returns:
:
list[SherlockStackupService_pb2.ListConductorLayersResponse.CCAConductorLayerProp]

The conductor layers of all CCAs in the project.

Return type:

list[CCAConductorLayerProp]

Examples

>>> 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}")