IWorkspace.OpenProject method
Namespace: NextDesign.Desktop
Description
Opens the specified project.
argument
Name | Type | Description |
---|---|---|
projectPath | string | Project path Null or empty string cannot be specified. |
isSetCurrent | bool | If you set the loaded project as the current project or False is specified, the loaded project will not be set as the current project. The default value is True. |
excludeModelFiles | bool | Open the project without loading the model file or if True is specified, open the project without loading the model file. The default value is False. |
Return value
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null or empty string is specified for projectPath |
Invalid path | ExtensionInvalidPathException | If the specified path cannot be interpreted as a valid path string |
Invalid file specification | ExtensionInvalidFileException | When the file extension of projectPath is not a project When a project path of a save format that is not supported by NextDesign being executed is specified in projectPath |
File not found | ExtensionFileFoundException | If the file in projectPath is not found |