IProjectUnitManager.AddExternalUnits Method
Namespace: NextDesign.Core
Description
Registers the specified file as a reference to a model unit.
Argument
| Name | Type | Description |
|---|---|---|
| unitFilePaths | IEnumerable<string> | Enumerates absolute paths of unit files |
Return value
- void
Exception
| Name | Exception Class | Description |
|---|---|---|
| Invalid Argument | ExtensionArgumentException | When the extension of the specified unit file path is not supported |
| Invalid Operation | ExtensionInvalidOperationException | When an invalid operation request is made - The latest model file has not been loaded - You do not have editing permissions for the project - The project has never been saved |