Skip to main content

IWorkspace.NewProject method

Namespace: NextDesign.Desktop

Description

Generate a new project.

argument

NameTypeDescription
projectNamestringproject name

You cannot specify null or an empty string.
descriptionstringDescription

Can be any string, including null.
profilePathstringprofile path

If null is specified, generate a project with an empty profile.
isSetCurrentboolSet the generated project as the current project?
If False is specified, the generated project is not set as the current project.
The default is True.

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for projectName
Invalid PathExtensionInvalidPathExceptionIf the specified path cannot be interpreted as a valid path string when profilePath is not null
Invalid file specificationExtensionInvalidFileExceptionIf the file extension of the corresponding path is not a profile when profilePath is not null
If you specify a profile path that is not supported by the running NextDesign
File not foundExtensionFileFoundExceptionIf profilePath is not null and file is not found for that path