IProjectService.UpdateProjectOutputModelPaths Method
Namespace: NextDesign.Core.Runtime
Description
Updates the paths of referenced models in the specified project.
This method is only effective if the save location for the specified project has been determined.
If the save location for the project has not been determined, an exception is thrown.
If the project is unsaved, the project changes are saved simultaneously with the path update.
Furthermore, the referenced model paths are updated only for loaded and editable units among the managed units of the specified project.
Arguments
| Name | Type | Description |
|---|---|---|
| project | IProject | Project |
Return Value
- void
Exceptions
| Name | Exception Class | Description |
|---|---|---|
| Invalid Argument | ExtensionArgumentException | When null is specified for project |
| Invalid Operation | ExtensionInvalidOperationException | When the save location for the target project has not been determined When a closed project is specified for project |
| Unsupported | ExtensionNotSupportedException | When the current edition of the application does not support it |