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 You can specify any string, including null. |
| profilePath | string | Profile path If null is specified, a project with an empty profile will be generated. |
| isSetCurrent | bool | If you set the generated project as the current project or False is specified, the generated project will not be set as the current project. The default value is True. |
Return value
Exception
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | When null or 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 | When profilePath is not null and the file extension of the corresponding path is not a profile When a profile path of a save format that is not supported by NextDesign being executed is specified in profilePath |
| File not found | ExtensionFileFoundException | If profilePath is not null and the file in the path is not found |