ImportIDFandMerge

Imports an IDF file into a new project. To import without merging, use ImportIDF.

UI Access File > Import > IDF. Enable Merge with existing and select a project/design.
Parameters
Name Type Description
<idfFileName> String Full path of GERBER file.
<libFileName> String Optional. Full path of library file. Pass empty string if none.
<controlFileName> String Optional. Full path of XML control file. Pass empty string if none.
<project> String Name of project to merge with.
<design> String Name of design to merge with.
Return Value

None.

 

Python Syntax ImportIDFandMerge(<idfFileName>, <libPathName>, <controlFileName>, <project>, <design>)
Python Example

oDesktop.RestoreWindow()

Set oTool = oDesktop.GetTool('ImportExport')

oTool.ImportIDFandMerge('C:/Files/test.brd', 'C:/Files/test.aedb.lib',

'C:/Files/test.xml', 'Project1', 'Design12')