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
Name | Type | Description |
---|---|---|
project | IProject | Project 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
Name | Exception Class | Description |
---|---|---|
Illegal operation | ExtensionInvalidOperationException | When the file of the target project is not created When the latest model file is not loaded |
Not Supported | ExtensionNotSupportedException | If the current edition of the application is not supported |