list_laminate_layers#

Stackup.list_laminate_layers(project: str) list[SherlockStackupService_pb2.ListLaminatesResponse.CCALaminateProp]#

List all laminate layers and their properties.

Available Since: 2021R1

Parameters:

project (str) – Name of the Sherlock project.

Returns:

The laminate layers of all CCAs in the project.

Return type:

list[SherlockStackupService_pb2.ListLaminatesResponse.CCALaminateProp]

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",
)
>>> laminateLayers = sherlock.stackup.list_laminate_layers(project="Tutorial")
>>> for layer in laminateLayers:
>>>     properties = layer.laminateProps
>>>     for prop in properties:
>>>     print(f"{prop}")