IProjectUnitManager.ExportModelUnit Method
Namespace: NextDesign.Core
Description
Exports the specified model unit to the specified file path.
Arguments
| Name | Type | Description |
|---|---|---|
| unit | IModelUnit | Unit |
| exportFilePath | string | Export destination file path |
Return value
- void
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If 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 operation | ExtensionInvalidOperationException | If 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 |