ImportGerber

Imports a GERBER file into a new project.

UI Access FileImportGERBER.
Parameters
Name Type Description
<gerberFileName> String Full path of GERBER file.
<outputPathName> String Full path of EDB file to create during import.
<controlFileName> String Optional. Full path of XML control file. Pass empty string if none.
Return Value

None.

 

Python Syntax ImportGerber(<gerberFileName>, <outputPathName>, <controlFileName>)
Python Example

oDesktop.RestoreWindow()

Set oTool = oDesktop.GetTool('ImportExport')

oTool.ImportGERBER('C:/Files/test.gbr', 'C:/Files/test.aedb.edb',

'C:/Files/test.xml')

 

VB Syntax ImportGerber <gerberFileName>, <outputPathName>, <controlFileName>
VB Example

Set oTool = oDesktop.GetTool("ImportExport")

oTool.ImportGERBER "C:/Files/test.gbr", "C:/Files/test.aedb.edb", _

"C:/Files/test.xml"