list_ccas#

Project.list_ccas(project, cca_names=None)#

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

Parameters:
  • project (str) – Name of the Sherlock project.

  • cca_names (List of str, optional) – List of 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 = project.list_ccas("AssemblyTutorial",["Main Board"])