IWorkspace.NewProject method
Namespace: NextDesign.Desktop
Description
Generate a new project.
argument
| Name | Type | Description |
|---|---|---|
| projectName | string | project name You cannot specify null or an empty string. |
| description | string | Description Can be any string, including null. |
| profilePath | string | profile path If null is specified, generate a project with an empty profile. |
| isSetCurrent | bool | Set 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
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or an empty string is specified for projectName |
| Invalid Path | ExtensionInvalidPathException | If the specified path cannot be interpreted as a valid path string when profilePath is not null |
| Invalid file specification | ExtensionInvalidFileException | If 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 found | ExtensionFileFoundException | If profilePath is not null and file is not found for that path |