Skip to main content

IProjectUnitManager.AddExternalUnits method

Namespace: NextDesign.Core

Description

Registers the specified file as a model unit by reference.

argument

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

Return value

  • void

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen the extension of the specified unit file path does not correspond to the save format of the project
Illegal operationExtensionInvalidOperationExceptionIn case of invalid operation request
-The latest model file has not been loaded
-You do not have edit permission for the project
-The project has never been saved.