Skip to main content

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

NameTypeDescription
projectIProjectProject

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf project is specified as null
Invalid operationExtensionInvalidOperationExceptionIf 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 supportedExtensionNotSupportedExceptionIf the current edition of the application is not supported