CloseProject

Closes the specified project and opens a new "Untitled" project.
UI Command:   Click File > New.
Syntax:   obj.CloseProject(<projectName>)
Parameters:  

BSTR projectName

Return Value:  

None.

VB Example:  

obj.CloseProject "project.siw"

IPY Example:  

oApp.CloseProject('project.siw')

Note:

The behavior of CloseProject() and CloseProjectNoForce() is identical when the SIwave UI is invoked in graphical/interactive mode.

However, when invoked in extractor/non-interactive mode:

  • CloseProject() will result in termination of the siwave.exe process.
  • CloseProjectNoForce() will close any open projects, but will keep the siwave.exe process active (so that subsequent script commands can be issued).