Skip to main content

IWorkspace.SaveAll method

Namespace: NextDesign.Desktop

Description

Resave the file based on the latest state. If no project is specified, the current project will be saved.

Throws an exception if the file has not been created for the specified project. Unloaded and read-only units are not saved.

argument

NameTypeDescription
projectIProjectProject

If null is specified, the path of the referenced model will be updated for the current project that is currently open in the application.
(Nothing happens if there is no current project)

Return value

  • void

Exception

NameException ClassDescription
Illegal operationExtensionInvalidOperationExceptionWhen the file of the target project is not created
When the latest model file is not loaded
Not SupportedExtensionNotSupportedExceptionIf the current edition of the application is not supported