Skip to main content

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​

NameTypeDescription
projectIProjectProject

Return Value​

  • void

Exceptions​

NameException ClassDescription
Invalid ArgumentExtensionArgumentExceptionWhen null is specified for project
Invalid OperationExtensionInvalidOperationExceptionWhen the save location for the target project has not been determined
When a closed project is specified for project
UnsupportedExtensionNotSupportedExceptionWhen the current edition of the application does not support it