Skip to main content

IProjectUnitManager.AddExternalUnits Method

Namespace: NextDesign.Core

Description

Registers the specified file as a reference to a model unit.

Argument

NameTypeDescription
unitFilePathsIEnumerable<string>Enumerates absolute paths of unit files

Return value

  • void

Exception

NameException ClassDescription
Invalid ArgumentExtensionArgumentExceptionWhen the extension of the specified unit file path is not supported
Invalid OperationExtensionInvalidOperationExceptionWhen 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