Skip to main content

IProjectUnitManager.ExportModelUnit Method

Namespace: NextDesign.Core

Description

Exports the specified model unit to the specified file path.

Arguments

NameTypeDescription
unitIModelUnitUnit
exportFilePathstringExport destination file path

Return value

  • void

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf an invalid parameter is specified
- The specified export destination file path is the same as the target unit
- The project save format and the extension of the specified export destination file path do not match
Invalid operationExtensionInvalidOperationExceptionIf an invalid operation is requested
- The specified unit is not under project management
- The project has never been saved
- The specified unit has not been loaded