IProjectUnitManager.ImportModelUnits method
Namespace: NextDesign.Core
Description
Imports the specified file as a model unit.
argument
| Name | Type | Description |
|---|---|---|
| unitFilePaths | IEnumerable<string> | Enumeration of absolute paths of unit files |
Return value
- void
Exception
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If the project save format and the extension of the specified unit file path do not correspond |
| Unauthorized operation | ExtensionInvalidOperationException | Invalid operation request - The latest model file has not been loaded - You do not have permission to edit the project - The project has never been saved |