Skip to main content

IProjectUnitManager.ExportModelUnit method

Namespace: NextDesign.Core

Description

Exports the specified model unit with the specified file path.

argument

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 specified export destination file If the path extension does not correspond
Illegal operationExtensionInvalidOperationExceptionFor invalid operation request
- The specified unit is not under project control
- The project has never been saved
- The specified unit is loaded not