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