export_aedb#

Model.export_aedb(project_name, cca_name, export_file, overwrite=True, display_model=False)#

Export an Electronics Desktop model.

Parameters:
  • project_name (str) – Name of the Sherlock project to generate the EDB model for.

  • cca_name (str) – Name of the CCA to generate the EDB model from.

  • export_file (str) – Directory for saving exported model to.

  • overwrite (bool, optional) – Whether to overwrite an existing file having the same file name. The default is True.

  • display_model (bool, optional) – Whether to launch and display the exported model in Ansys Electronics Desktop once the export finishes. The default is False.

Returns:

Status code of the response. 0 for success.

Return type:

int

Examples

>>> from ansys.sherlock.core import launcher
>>> from ansys.sherlock.core import model
>>> sherlock = launcher.launch_sherlock()
>>> sherlock.model.export_aedb(
    'Tutorial Project', 'Main Board', 'c:\Temp\export.aedb',
    True, False)