list_layers#
- Layer.list_layers(project, cca_name)#
List all layers as seen in the Layer Viewer for a specific project CCA.
- Parameters:
- project
str
Name of the Sherlock project.
- cca_name: str
Name of the CCA.
- project
- Returns:
- Return type:
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="Tutorial Project", >>> cca_name="Card" >>> ) >>> sherlock.layer.list_layers( >>> project="Tutorial Project", >>> cca_name="Card" >>> )