Skip to main content

IProjectUnitManager.ExportModelUnit Method

Namespace: NextDesign.Core

Description

Exports the specified model unit to the specified file path.

Argument

NameTypeDescription
unitIModelUnitUnit
exportFilePathstringExport destination file path

Return value

  • void

Exception

NameException ClassDescription
Invalid ArgumentExtensionArgumentExceptionWhen an invalid parameter is specified
- The specified export destination file path is the same as the target unit
- The extension of the specified export destination file path does not match
Invalid OperationExtensionInvalidOperationExceptionWhen an invalid operation request is made
- The specified unit is not under project management
- The project has never been saved
- The specified unit has not been loaded