import_layout_pcb#

Edb.import_layout_pcb(input_file, working_dir, anstranslator_full_path='', use_ppe=False, control_file=None)[source]#

Import a board file and generate an edb.def file in the working directory.

This function supports all AEDT formats, including DXF, GDS, SML (IPC2581), BRD, MCM, SIP, ZIP and TGZ.

Parameters:
input_filestr

Full path to the board file.

working_dirstr

Directory in which to create the aedb folder. The name given to the AEDB file is the same as the name of the board file.

anstranslator_full_pathstr, optional

Full path to the Ansys translator. The default is "".

use_ppebool

Whether to use the PPE License. The default is False.

control_filestr, optional

Path to the XML file. The default is None, in which case an attempt is made to find the XML file in the same directory as the board file. To succeed, the XML file and board file must have the same name. Only the extension differs.

Returns:
Full path to the AEDB filestr