ScrImportXfl

Imports an XFL file.
UI Command:   Import > XFL File.
Syntax:   obj.ScrImportXfl(<filePath>)
Parameters:  

BSTR filePath (full path)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

Dim version, doc, outcome

Set app = CreateObject("SIwave.Application.2024.2")

outcome = doc.ScrImportXfl("C:/Directory/filename.xfl")

doc.ScrSaveProjectAs("C:/Directory/filename.siw")

app.Quit

IPY Example:  

oDoc.ScrImportXfl('C:/Directory/filename.xfl')