list_ccas#

Project.list_ccas(project: str, cca_names: list[str] | None = None) dict[str, str | dict[str, str]]#

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:

CCAs and subassembly CCAs.

Return type:

list

Examples

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