IProjectService.UpdateProjectOutputModelPaths Method
Namespace: NextDesign.Core.Runtime
Description
Updates the paths of referenced models in the specified project.
This is only valid if the save format of the specified project supports path output for referenced models.
If the save format has not been determined or if the save format does not support path output, an exception is thrown.
If the project has not yet been saved, changes to the project will be saved at the same time as the path is updated.
In addition, the path of referenced models will only be updated for loaded and editable units managed by the specified project.
Argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If project is specified as null |
Invalid operation | ExtensionInvalidOperationException | If the save format of the target project has not been determined If the target project does not support path output for the referenced model If a closed project is specified for project |
Not supported | ExtensionNotSupportedException | If the current edition of the application is not supported |