Method IWorkspace.OpenProject(string,bool,bool)
Namespace: NextDesign.Desktop
Description
Open the specified project.
argument
Name | Type | Description |
---|---|---|
projectPath | string | Project path You cannot specify null or an empty string. |
isSetCurrent | bool | Set the loaded project as the current project? If False is specified, the loaded project is not set as the current project. The default is True. |
excludeModelFiles | bool | Open project without loading model files? If True, open the project without loading model files. The default is False. |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an 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 | If the file extension of projectPath is not a project If projectPath specifies a project path that is not supported by running NextDesign |
File not found | ExtensionFileFoundException | If the file in projectPath is not found |