Skip to main content

IProjectUnitManager.AddExternalUnits method

Namespace: NextDesign.Core

Description

Registers the specified file as a model unit.

argument

NameTypeDescription
unitFilePathsIEnumerable<string>Enumeration of absolute paths of unit files

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf the project save format and the specified unit file path extension do not correspond
Unauthorized operationExtensionInvalidOperationExceptionInvalid 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