list_ccas#

Project.list_ccas(project, cca_names=None)#

List CCAs and subassembly CCAs assigned to each CCA or given CCAs.

Available Since: 2023R2

Parameters:
project: str

Name of the Sherlock project.

cca_names: list[str], optional

CCA names. The default is None, in which case all CCAs in the project are returned.

Returns:
:
list

CCAs and subassembly CCAs.

Return type:

dict[str, str | dict[str, str]]

Examples

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> ccas = sherlock.project.list_ccas("AssemblyTutorial", ["Main Board"])