NewProject Method (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Creates a new Xpedition Designer project. The new project folder must not already exist.

Usage

Application.NewProject(ByVal ProjectPath As String, ByVal CentralLibraryPath As String, ByVal ServerName As String, ByVal ProjectTemplatePath As String) As Boolean

Arguments

ProjectPath

Specifies the full path to the new project file. Use the format: ..\projectname\projectname.prj

CentralLibraryPath

Specifies the full path to the central library.

ServerName

Specifies the iCDB server name or IP address. For a local machine, an empty string could be passed.

ProjectTemplatePath

Specifies the path to and name of the project file template. If this argument is an empty string, the default template is used.

Return Values

As Boolean. Returns True if a new project was successfully created; False otherwise.