Skip to main content

IProjectUnitManager.SplitModelUnit method

Namespace: NextDesign.Core

Description

Split the given model into unit files with the given names.

argument

NameTypeDescription
modelIModelModel
unitNamestringunit file name

Return value

  • void

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf an invalid parameter is specified
- The specified model is the root element
- The specified model has already been divided into units
- Currently
- A unit file name that cannot be used with the current operating system was specified.
Illegal operationExtensionInvalidOperationExceptionFor invalid operation request
- Latest model file is not loaded
- You do not have permission to edit the project

Annotations

When splitting the specified model into unit files with the specified names, the unit files are split in the same save format as the split source model.
If you want to split in other save formats, change the save format of the current project.
Also, if this function is called during file-by-file difference comparison, comparison may not be completed, so re-comparison must be performed.