import_gerber#

Hfss3dLayout.import_gerber(gerber_path, aedb_path=None, control_file=None, set_as_active=True, close_active_project=False)[source]#

Import a Gerber zip file into HFSS 3D Layout and assign the stackup from an XML file if present.

Parameters:
gerber_pathstr

Full path to the Gerber zip file.

aedb_pathstr, optional

Full path to the AEDB file.

control_filestr, optional

Path to the XML file with the stackup information. The default is None, in which case the stackup is not edited.

set_as_activebool, optional

Whether to set the Gerber zip file file as active. The default is True.

close_active_projectbool, optional

Whether to close the active project after loading the Gerber zip file file. The default is ‘’False``.

Returns
——-
bool

True when successful, False when failed.

References

>>> oModule.ImportGerber