export_aedb#
- Model.export_aedb(project_name, cca_name, export_file, overwrite=True, display_model=False)#
Export an Electronics Desktop model.
Available Since: 2024R2
- Parameters:
project_name (
str) – str: Name of the Sherlock project to generate the EDB model for.cca_name (
str) – str: Name of the CCA to generate the EDB model from.export_file (
str) – str: Directory for saving exported model to.overwrite (
bool) – bool, optional: Whether to overwrite an existing file having the same file name. The default isTrue.display_model (
bool) – bool, optional: Whether to launch and display the exported model in Ansys Electronics Desktop once the export finishes. The default isFalse.
- Return type:
- Returns:
- :
intStatus code of the response. 0 for success.
Examples
>>> from ansys.sherlock.core import model >>> from ansys.sherlock.core import launcher >>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua") >>> sherlock.model.export_aedb( >>> 'Tutorial Project', 'Main Board', 'c:\Temp\export.aedb', >>> True, False)