Skip to main content

IProjectUnitManager.SplitModelUnit method

Namespace: NextDesign.Core

Description

Splits the specified model into unit files with the specified names.

argument

NameTypeDescription
modelIModelModel
unitNamestringunit file name

Return value

  • void

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen an invalid parameter is specified
-The specified model is the root element
-The specified model has already been unit-divided
-Currently Duplicate with the unit file name used in the project of
-A unit file name that cannot be used in the current operating system was specified
Illegal operationExtensionInvalidOperationExceptionIn case of invalid operation request
-The latest model file is not loaded
-You do not have edit permission for the project

Annotation

When splitting the specified model into unit files with the specified name, the unit file splits in the same storage format as the split source model. If you want to split it in another save format, change the save format of the current project.