ScrImportIPC2581

Imports an IPC2581 file, as well as optional RLC part value and XML control files, into a new project
UI Command:   Import > IPC2581
Syntax:   obj.ScrImportIPC2581 (<designFile>, <controlFile>, <partFile>)
Parameters:  

BSTR designFile (full path)

BSTR controlFile (full path, use empty string for none)

BSTR partFile (full path, use empty string for none)

Return Value:  

INT:

  • 0 – Success
  • 1 – Error translating the file.
  • 2 – Error reading part mapping file.
VB Example:  

obj.ScrImportIPC2581 "C:/Files/mydesign.cvg" "C:/Files/controlfile.xml" "C:/Files/partfile.dat"

IPY Example:   oApp.ScrImportIPC2581('C:/Files/mydesign.cvg', 'C:/Files/controlfile.xml', 'C:/Files/partfile.dat')